renable nextcloud cron
This commit is contained in:
@@ -193,18 +193,18 @@ in
|
||||
services.cron.enable = true;
|
||||
services.redis.servers."".enable = true;
|
||||
|
||||
#systemd.timers.nextcloud-cron = {
|
||||
# wantedBy = [ "timers.target" ];
|
||||
# timerConfig.OnBootSec = "5m";
|
||||
# timerConfig.OnUnitActiveSec = "15m";
|
||||
# timerConfig.Unit = "nextcloud-cron.service";
|
||||
#};
|
||||
systemd.timers.nextcloud-cron = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig.OnBootSec = "5m";
|
||||
timerConfig.OnUnitActiveSec = "15m";
|
||||
timerConfig.Unit = "nextcloud-cron.service";
|
||||
};
|
||||
|
||||
#systemd.services.nextcloud-cron = {
|
||||
# environment.NEXTCLOUD_CONFIG_DIR = "/var/www/nextcloud/config";
|
||||
# serviceConfig.Type = "oneshot";
|
||||
# serviceConfig.User = "nextcloud";
|
||||
# serviceConfig.ExecStart = "${myPhp}/bin/php --define apc.enable_cli=1 -f /var/www/nextcloud/cron.php";
|
||||
#};
|
||||
systemd.services.nextcloud-cron = {
|
||||
environment.NEXTCLOUD_CONFIG_DIR = "/var/www/nextcloud/config";
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.User = "nextcloud";
|
||||
serviceConfig.ExecStart = "${myPhp}/bin/php --define apc.enable_cli=1 -f /var/www/nextcloud/cron.php";
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user