HEX
Server: nginx/1.22.0
System: Linux iZuf6jdxbygmf6cco977lcZ 5.10.84-10.4.al8.x86_64 #1 SMP Tue Apr 12 12:31:07 CST 2022 x86_64
User: root (0)
PHP: 7.4.29
Disabled: passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
Upload Files
File: //etc/redhat-lsb/lsb_start_daemon
#!/bin/bash

. /etc/init.d/functions

nice=
force=
pidfile=
user=
check=
RETVAL=
while [ "$1" != "${1##[-+]}" ]; do
	case $1 in
	     -f)
	     	force="--force"
		shift
		;;
	     -n)
	     	nice=$2
		shift 2
		;;
	     -p)
		pidfile="--pidfile $2"
		shift 2
		;;
	     -u)
	        user="--user $2"
		shift 2
		;;
	     -c)
	        check="--check $2"
		shift 2
		;;
	      *)     
 		echo "Unknown Option $1"
 		echo "Options are:"
 		echo "-f" 
		echo "-p {pidfile}"
		echo "-n [+/-nicelevel]"
		echo "-u {user}"
		echo "-c {base}"
	        exit 1;;	
	esac
done
LSB=LSB-1.1 daemon ${force:-} ${nice:-} ${pidfile:-} ${user:-} ${check:-} $*
exit $?