2 ################################################
 
   3 ### Managed by someone's ansible provisioner ###
 
   4 ################################################
 
   5 # Part of: https://git.somenet.org/root/pub/somesible.git
 
   6 # 2017-2025 by someone <someone@somenet.org>
 
  10 Description=Run cron.php for Nextcloud at %I
 
  11 ConditionPathIsDirectory=/var/www/%I/
 
  12 OnFailure=unit-status-mail@%n.service
 
  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/