Deprecate ncfiles

This commit is contained in:
2025-07-14 12:07:18 +02:00
parent a038ed17c4
commit 7689c6ad5a
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Nextcloud files scan
[Service]
User=root
ExecStart=/usr/bin/docker exec --user www-data %1% /var/www/html/occ files:scan --all
KillMode=process

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Scan Nextcloud files every 30 minutes
[Timer]
OnBootSec=30min
OnUnitActiveSec=30min
Unit=ncfiles.service
[Install]
WantedBy=timers.target