summaryrefslogtreecommitdiff
path: root/roles/apps/nextcloud/base/templates/cron@.service.j2
blob: d8cde0a389449af4e39e7deb3d87106ab6e40783 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Nextcloud cron.php job for %i

[Service]
Type=oneshot
ExecStart=/usr/local/bin/nextcloud-cron %i
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX AF_INET