mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
phpipam: update tasks timer
This commit is contained in:
parent
a506a09a36
commit
727bcc51aa
1 changed files with 5 additions and 2 deletions
|
@ -69,9 +69,12 @@ in
|
||||||
${cfg.phpPackage}/bin/php ${phpipamHtdocs}/functions/scripts/remove_offline_addresses.php
|
${cfg.phpPackage}/bin/php ${phpipamHtdocs}/functions/scripts/remove_offline_addresses.php
|
||||||
'';
|
'';
|
||||||
serviceConfig.User = "nginx";
|
serviceConfig.User = "nginx";
|
||||||
startAt = "*:0/15";
|
|
||||||
};
|
};
|
||||||
timers.phpipam-tasks.timerConfig.RandomizedDelaySec = 600;
|
timers.phpipam-tasks = {
|
||||||
|
timerConfig.OnBootSec = 900;
|
||||||
|
timerConfig.OnUnitInactiveSec = 900;
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
Loading…
Reference in a new issue