]> git.somenet.org - root/pub/somesible.git/blob - roles/service/nextcloud/files/default/nextcloud-cron@.service
[roles/util/postgres-db-usr] create postgres db and owner-user
[root/pub/somesible.git] / roles / service / nextcloud / files / default / nextcloud-cron@.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 [Unit]
10 Description=Run cron.php for Nextcloud at %I
11 ConditionPathIsDirectory=/var/www/%I/
12 OnFailure=unit-status-mail@%n.service
13
14 [Service]
15 Type=oneshot
16 User=www-data
17 Group=www-data
18 UMask=0077
19 Nice=5
20 IOSchedulingClass=best-effort
21 IOSchedulingPriority=6
22 ExecStart=/usr/bin/php --define apc.enable_cli=1 -f ./cron.php
23 WorkingDirectory=/var/www/%I/