summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/nextcloud-cron@.service.j2
blob: 33623c16e82ecfc134318c19278d111891ebd489 (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={{ elevate_media_nextcloud_base_path }}/%i/config/run-cron.sh
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=strict
ProtectHome=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
RestrictRealtime=yes
RestrictAddressFamilies=AF_UNIX AF_INET