| Server IP : 185.143.233.238 / Your IP : 185.215.232.195 Web Server : Apache System : Linux 81-12-52-146.cprapid.com 4.18.0-553.76.1.lve.el8.x86_64 #1 SMP Wed Oct 1 16:05:07 UTC 2025 x86_64 User : noavaranesama ( 1039) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/share/cloudlinux/ |
Upload File : |
#!/bin/bash
#
# lvectl Startup script for lve default initialization
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
prog="lvectl"
RETVAL=0
start() {
# Do not start if there is no config file.
[ ! -f /proc/lve/list ] && return 6
/usr/sbin/lvectl --reload-binaries > /dev/null 2>&1
/usr/sbin/lvectl --apply all
RETVAL=$?
sleep 3
return $RETVAL
}
stop() {
return 0
}
reload() {
/usr/sbin/lvectl --reload-binaries > /dev/null 2>&1
/usr/sbin/lvectl apply all
RETVAL=$?
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
reload)
reload
;;
*)
echo $"Usage: $prog {start|stop|reload}"
exit 1
esac
RETVAL=$?
exit $RETVAL