Uname:Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 173.249.148.11  /  Your IP : 216.73.216.179
Web Server : Apache/2.4.68 (AlmaLinux)
System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64
User : devinter ( 1006)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/core/17284/lib/lsb/init-functions.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/core/17284/lib/lsb/init-functions.d/01-upstart-lsb
# 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|status|reload)
         # Action is a valid upstart action
         exec ${1} ${_UPSTART_JOB}
      ;;
      restart|force-reload)
        # Map restart to the usual sysvinit behavior.
         stop ${_UPSTART_JOB} || :
         exec start ${_UPSTART_JOB}
      ;;
   esac
fi

Youez - 2016 - github.com/yon3zu
LinuXploit