Fix setting no verbosity for the docker container

This commit is contained in:
Sebastian Goscik
2022-12-08 12:12:54 +00:00
parent 58eb1fd8a7
commit a4091699a1

View File

@@ -2,5 +2,8 @@
export RCLONE_CONFIG=/config/rclone/rclone.conf
echo $VERBOSITY
[[ -n "$VERBOSITY" ]] && export VERBOSITY_ARG=-$VERBOSITY || export VERBOSITY_ARG=""
exec \
s6-setuidgid abc unifi-protect-backup -${VERBOSITY}
s6-setuidgid abc unifi-protect-backup ${VERBOSITY_ARG}