HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //proc/self/root/usr/share/usermin/usermin-init
#!/bin/sh
# chkconfig: 235 99 10
# description: web-based account administration interface for Unix systems
#
### BEGIN INIT INFO
# Provides:          usermin
# Required-Start:    $local_fs $network $syslog
# Required-Stop:     $local_fs $network
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: web-based account administration interface for Unix systems
# Description:       Usermin is a web-based interface for reading email, changing
#                    your password, setting up mail filters and more.
### END INIT INFO

PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="web-based account administration interface for Unix systems"
NAME=Usermin
PIDFILE=/var/usermin/miniserv.pid
SCRIPTNAME=/etc/init.d/usermin
START=/etc/usermin/.start-init
STOP=/etc/usermin/.stop-init
FORCERESTART=/etc/usermin/.restart-by-force-kill-init
RELOAD=/etc/usermin/.reload-init
LOCKFILE=/var/lock/subsys/usermin
CONFFILE=/etc/usermin/miniserv.conf

case "$1" in
start)
	$START
	RETVAL=$?
	if [ "$RETVAL" = "0" ]; then
		touch $LOCKFILE >/dev/null 2>&1
	fi
	;;
stop)
	$STOP
	RETVAL=$?
	if [ "$RETVAL" = "0" ]; then
		rm -f $LOCKFILE
		pidfile=`grep "^pidfile=" $CONFFILE | sed -e 's/pidfile=//g'`
		if [ "$pidfile" = "" ]; then
			pidfile=$PIDFILE
		fi
		rm -f $pidfile
	fi
	;;
status)
	pidfile=`grep "^pidfile=" $CONFFILE | sed -e 's/pidfile=//g'`
	if [ "$pidfile" = "" ]; then
		pidfile=$PIDFILE
	fi
	if [ -s $pidfile ]; then
		pid=`cat $pidfile`
		kill -0 $pid >/dev/null 2>&1
		if [ "$?" = "0" ]; then
			echo "$NAME (pid $pid) is running"
			RETVAL=0
		else
			echo "$NAME is stopped"
			RETVAL=1
		fi
	else
		echo "$NAME is stopped"
		RETVAL=1
	fi
	;;
restart)
	$STOP ; $START
	RETVAL=$?
	;;
restart-by-force-kill)
	$FORCERESTART
	RETVAL=$?
	;;
reload|force-reload)
	$RELOAD
	RETVAL=$?
	;;
*)
	echo "Usage: $0 {start|stop|restart|restart-by-force-kill|reload|force-reload|status}" >&2
	RETVAL=1
	;;
esac
exit $RETVAL