????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.37 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/lsb/init-functions.d/ |
Upload File : |
# Allow executing init.d scripts as upstart jobs
# Operate against system upstart, not session
unset UPSTART_SESSION
# Bail if there is an upstart job, and called via RC
_RC_SCRIPT=${0#/etc/rc?.d/[KS]??*}
if [ -r "/etc/init/${_RC_SCRIPT}.conf" ] && which initctl >/dev/null \
&& initctl version 2>/dev/null | grep -q upstart
then
exit 0
fi
_UPSTART_JOB=${0#/etc/init.d/}
if [ -r "/etc/init/${_UPSTART_JOB}.conf" ] && which initctl >/dev/null \
&& initctl version 2>/dev/null | grep -q upstart \
&& initctl status ${_UPSTART_JOB} 2>/dev/null 1>/dev/null
then
# Upstart configuration exists for this job and we're running under upstart
case "${1:-}" in
start|stop|reload)
# Action is a valid upstart action
exec ${1} ${_UPSTART_JOB}
;;
status)
# return code of the command only tells us upstart is running, not
# the status of the job. Map to LSB values.
output=$(${1} ${_UPSTART_JOB}) || exit 4
echo "$output"
case $output in
*start/running*)
exit 0 ;;
*stop/waiting*)
exit 3 ;;
*)
exit 4 ;;
esac
;;
restart|force-reload)
# Map restart to the usual sysvinit behavior.
stop ${_UPSTART_JOB} || :
exec start ${_UPSTART_JOB}
;;
esac
fi