mirror of
https://github.com/fscotto/infra.git
synced 2026-10-06 23:09:51 +00:00
Integrate consistent Nextcloud backups and recovery
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Discover existing Archive documents and iCloud photos in Nextcloud
|
||||
Requires=atlas-nextcloud.service
|
||||
After=atlas-nextcloud.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
{% for mount in atlas_nextcloud_external_mounts %}
|
||||
ExecStart=/usr/bin/podman exec --user 33 atlas-nextcloud php occ files:scan "--path={{ mount.user }}/files/{{ mount.name }}" --quiet
|
||||
{% endfor %}
|
||||
TimeoutStartSec=90min
|
||||
NoNewPrivileges=true
|
||||
Reference in New Issue
Block a user