HEX
Server: Apache
System: Linux 66-116-199-115.webhostbox.net 5.14.0-427.31.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 15 14:47:52 EDT 2024 x86_64
User: blushinc (1003)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //etc/systemd/system/ror
#!/bin/bash
#
# ror
#
# chkconfig: 2345 96 82
# description: ror

start() {
    /usr/local/cpanel/bin/rormgr --startboot
}

stop() {
    /usr/local/cpanel/bin/rormgr --stopall
}

status() {
    /usr/local/cpanel/bin/rormgr --statusall
}

case "$1" in
    start)
        start
        ;;
    stop)
        stop
        ;;
    restart)
        stop
        start
        ;;
    status)
        status
        ;;
esac