ubuntu-nextcloud/start.sh
2026-06-27 21:33:09 +00:00

9 lines
147 B
Bash

#!/bin/bash
service apache2 start &
while true
do
su -s /bin/bash www-data -c "php -f /var/www/nextcloud/cron.php"
sleep 300;
done
/bin/sh