HEX
Server: Apache
System: Linux 65-254-81-60.cprapid.com 4.18.0-477.27.2.el8_8.x86_64 #1 SMP Fri Sep 29 08:21:01 EDT 2023 x86_64
User: roshanchandy (1003)
PHP: 8.4.12
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