This commit is contained in:
parent
8f2239014e
commit
5ae52fa449
2
start.sh
2
start.sh
@ -81,6 +81,6 @@ PARAMS+=("${NEXTCLOUD_URL}")
|
|||||||
|
|
||||||
# main loop
|
# main loop
|
||||||
while true; do
|
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}"
|
sleep "${NEXTCLOUD_SLEEP}"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user