ma owncloud: enable owncloud cron service
This commit is contained in:
parent
579a6d257b
commit
54990bce89
@ -143,6 +143,7 @@ let
|
|||||||
opcache.memory_consumption=128
|
opcache.memory_consumption=128
|
||||||
opcache.save_comments=1
|
opcache.save_comments=1
|
||||||
opcache.revalidate_freq=1
|
opcache.revalidate_freq=1
|
||||||
|
opcache.file_cache = .opcache
|
||||||
zend_extension=${pkgs.php}/lib/php/extensions/opcache.so
|
zend_extension=${pkgs.php}/lib/php/extensions/opcache.so
|
||||||
|
|
||||||
display_errors = on
|
display_errors = on
|
||||||
@ -155,6 +156,13 @@ let
|
|||||||
extension=${pkgs.phpPackages.redis}/lib/php/extensions/redis.so
|
extension=${pkgs.phpPackages.redis}/lib/php/extensions/redis.so
|
||||||
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.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 {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
Loading…
Reference in New Issue
Block a user