mirror of
https://github.com/casjaysdevdocker/apprise
synced 2025-01-30 18:34:25 -05:00
🗃 Modified: rootfs/usr/local/etc/docker/init.d/zz-default.sh 🗃
Modified: rootfs/usr/local/etc/docker/init.d/zz-default.sh
This commit is contained in:
parent
df80b7f5cb
commit
1163c1a0d9
@ -124,8 +124,8 @@ SERVICE_GID="0" # set the group id
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# execute command variables - keep single quotes variables will be expanded later
|
||||
EXEC_CMD_BIN='apprise' # command to execute
|
||||
EXEC_CMD_ARGS='' # command arguments
|
||||
EXEC_PRE_SCRIPT='' # execute script before
|
||||
EXEC_CMD_ARGS='' # command arguments
|
||||
EXEC_PRE_SCRIPT='' # execute script before
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Is this service a web server
|
||||
IS_WEB_SERVER="no"
|
||||
@ -574,7 +574,7 @@ fi
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# set switch user command
|
||||
if [ "$RUNAS_USER" = "root" ]; then
|
||||
su_cmd() { eval "$*" || return 1; }
|
||||
su_cmd() { eval "$@" || return 1; }
|
||||
elif [ "$(builtin type -P gosu)" ]; then
|
||||
su_cmd() { gosu $RUNAS_USER "$@" || return 1; }
|
||||
elif [ "$(builtin type -P runuser)" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user