summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/nextcloud-cron.service.j2
blob: c88d3bdcce19636d880016b15af4a766dc5b904a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Nextcloud cron.php job

[Service]
Type=oneshot
ExecStart=/usr/bin/docker exec -u www-data nextcloud.service php -f /var/www/html/cron.php
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX