projects/aports·blob master · refs

6 lines · 193 B

1#!/bin/sh
2
3# Run only when nextcloud service is started.
4if rc-service nextcloud -q status >/dev/null 2>&1; then
5 su nextcloud -s /bin/sh -c 'php85 -f /usr/share/webapps/nextcloud/cron.php'
6fi