diff options
author | makefu <github@syntax-fehler.de> | 2018-07-26 22:34:47 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2018-07-26 22:34:47 +0200 |
commit | 54990bce8941dfc9b38504fbff357cadd66354a3 (patch) | |
tree | 79711f7f3229e9c9ee7d9331216511a50900478e /makefu/2configs | |
parent | 579a6d257b255122a51c6966395a9cc21279dab6 (diff) |
ma owncloud: enable owncloud cron service
Diffstat (limited to 'makefu/2configs')
-rw-r--r-- | makefu/2configs/deployment/owncloud.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix index b3ea7ed4e..cfde0aba8 100644 --- a/makefu/2configs/deployment/owncloud.nix +++ b/makefu/2configs/deployment/owncloud.nix @@ -143,6 +143,7 @@ let opcache.memory_consumption=128 opcache.save_comments=1 opcache.revalidate_freq=1 + opcache.file_cache = .opcache zend_extension=${pkgs.php}/lib/php/extensions/opcache.so display_errors = on @@ -155,6 +156,13 @@ let extension=${pkgs.phpPackages.redis}/lib/php/extensions/redis.so extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so ''; + systemd.services."nextcloud-cron-${domain}" = { + serviceConfig = { + User = "nginx"; + ExecStart = "${pkgs.php}/bin/php -f ${root}/cron.php"; + }; + startAt = "*:0/15"; + }; }; in { imports = [ |