mirror of
https://github.com/linuxserver/docker-nextcloud.git
synced 2026-02-19 23:03:50 +08:00
commit
1310ff6d9e
1
root/defaults/nextcloud
Normal file
1
root/defaults/nextcloud
Normal file
@ -0,0 +1 @@
|
||||
*/15 * * * * s6-setuidgid abc php -f /config/www/nextcloud/cron.php
|
||||
@ -3,3 +3,6 @@
|
||||
# permissions
|
||||
chown abc:abc /config /data
|
||||
chown -R abc:abc /var/lib/nginx
|
||||
|
||||
# set cronjob
|
||||
crontab /defaults/nextcloud
|
||||
|
||||
3
root/etc/services.d/cron/run
Normal file
3
root/etc/services.d/cron/run
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
/usr/sbin/crond -f -S -l 0 -c /etc/crontabs
|
||||
Loading…
x
Reference in New Issue
Block a user