summaryrefslogtreecommitdiff
path: root/Omni/Deploy
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Deploy')
-rw-r--r--Omni/Deploy/Deployer.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/Omni/Deploy/Deployer.nix b/Omni/Deploy/Deployer.nix
index ea4ae47..54a8f6c 100644
--- a/Omni/Deploy/Deployer.nix
+++ b/Omni/Deploy/Deployer.nix
@@ -5,10 +5,10 @@
pkgs,
...
}: let
- cfg = config.services.biz-deployer;
+ cfg = config.services.deployer;
in {
- options.services.biz-deployer = {
- enable = lib.mkEnableOption "Enable the biz-deployer mini-PaaS service";
+ options.services.deployer = {
+ enable = lib.mkEnableOption "Enable the deployer mini-PaaS service";
package = lib.mkOption {
type = lib.types.package;
@@ -61,7 +61,7 @@ in {
];
# The deployer service runs as a timer-triggered oneshot
- systemd.services.biz-deployer = {
+ systemd.services.deployer = {
description = "Mini-PaaS deployment agent";
after = ["network-online.target"];
wants = ["network-online.target"];
@@ -82,13 +82,13 @@ in {
};
# Timer to run deployer every N seconds
- systemd.timers.biz-deployer = {
- description = "Timer for biz-deployer reconciliation";
+ systemd.timers.deployer = {
+ description = "Timer for deployer reconciliation";
wantedBy = ["timers.target"];
timerConfig = {
OnBootSec = "1min";
OnUnitActiveSec = "${toString cfg.interval}s";
- Unit = "biz-deployer.service";
+ Unit = "deployer.service";
};
};