fix start script
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paolo Asperti 2023-11-09 17:36:12 +01:00
parent 8f2239014e
commit 5ae52fa449
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -81,6 +81,6 @@ PARAMS+=("${NEXTCLOUD_URL}")
# main loop
while true; do
/bin/su -s /bin/sh "${USER_NAME}" -c /usr/bin/nextcloudcmd "${PARAMS[@]}"
/bin/su -s /bin/sh "${USER_NAME}" -- /usr/bin/nextcloudcmd "${PARAMS[@]}"
sleep "${NEXTCLOUD_SLEEP}"
done