| Server IP : 23.111.136.34 / Your IP : 216.73.216.136 Web Server : Apache System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : meusitei ( 1072) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, proc_open MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /etc/redhat-lsb/ |
Upload File : |
#!/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 $?