| Server IP : 104.21.73.115 / Your IP : 216.73.217.154 Web Server : Apache System : Linux vps42439 6.8.0-136-generic #136~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 3 16:29:11 UTC x86_64 User : dh_7hi3h9 ( 6349477) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/runit/ |
Upload File : |
#!/bin/sh -u
# Deliberately NO `set -e'. See #923957.
initdir="${1}"
set +u
if [ x = x$2 ]; then
rcommand=start
rX=S
else
rcommand=stop
rX=K
fi
set -u
for script in "$initdir/$rX"* ; do
path=$(realpath "$script")
name=$(basename "$path")
# Special case for wicd. Runscript is called "wicd-daemon",
# to match binary package name.
[ -d "/etc/sv/$name" ] && continue
[ -d "/etc/sv/$name-daemon" ] && continue
"$script" "$rcommand"
done