ma owncloud: enable owncloud cron service

This commit is contained in:
makefu 2018-07-26 22:34:47 +02:00
parent 579a6d257b
commit 54990bce89
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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 = [