Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /etc/systemd/system/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current 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

ZeroDay Forums Mini