From 7bb315c55e447a0cd4872a3a1f6a7b421e3f087b Mon Sep 17 00:00:00 2001 From: dimon Date: Mon, 3 Feb 2025 16:38:34 +0000 Subject: [PATCH] Update 'start.sh' --- start.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 9d6cefe..1ca7f9f 100644 --- a/start.sh +++ b/start.sh @@ -1,3 +1,7 @@ #!/bin/bash -service apache2 start +service apache2 start & +while true do + su -u wwww-data php -f /var/www/nextcloud/cron.php + sleep 300; +done /bin/sh