403Webshell
Server IP : 172.67.134.114  /  Your IP : 104.23.197.123
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /etc/rc.d/init.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/rc.d/init.d/jailkit
#!/bin/sh
### BEGIN INIT INFO
# Provides:          jailkit
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start jk_socketd at boot time
# Description:       Enable jk_socketd
### END INIT INFO
#
# start/stop jailkit logging daemon.
#
# chkconfig: 2345 60 40
# description: chroot() jail wrapping utilities

JK_SOCKETD=/usr/sbin/jk_socketd

test -x ${JK_SOCKETD} || exit 0

case "$1" in
    start)
	echo -n "Starting jailkit:"
	echo -n " jk_socketd"
	${JK_SOCKETD}
	echo " done."
	;;
    stop)
        echo -n "Stopping jailkit:"
        echo -n " jk_socketd"
        killall ${JK_SOCKETD}
        echo " done."
	;;
    restart)
		$0 stop
		$0 start
	;;
	force-reload)
		$0 stop
		$0 start
	;;
    *)
	echo "Usage: $0 {start|stop|restart|force-reload}"
	exit 1
	;;
esac

exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit