MOON
Server: Apache
System: Linux kvm.asjudinet.com 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
User: asjudine (1001)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/self/root/proc/self/root/usr/share/cloudlinux/lvectl
#!/usr/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