From abdace209323b65f6c5db1bf553ede1f60da00cc Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 25 Dec 2025 21:51:43 -0500 Subject: Omni/Deploy: add WorkingDirectory support and rename to deployer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add execWorkingDirectory field to Exec type in Manifest.hs - Generate WorkingDirectory= in systemd unit files - Allow add-service to update existing services - Rename biz-deployer to deployer throughout - Fix Caddy.hs and Systemd.hs tests for new Exec constructor This fixes subagent stalls caused by Coder running direnv from wrong directory. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Omni/Deploy/Deployer.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Omni/Deploy/Deployer.nix') diff --git a/Omni/Deploy/Deployer.nix b/Omni/Deploy/Deployer.nix index 54a8f6c..ed4241e 100644 --- a/Omni/Deploy/Deployer.nix +++ b/Omni/Deploy/Deployer.nix @@ -12,7 +12,7 @@ in { package = lib.mkOption { type = lib.types.package; - description = "The biz-deployer package to use"; + description = "The deployer package to use"; }; manifestPackage = lib.mkOption { @@ -28,7 +28,7 @@ in { stateDir = lib.mkOption { type = lib.types.path; - default = "/var/lib/biz-deployer"; + default = "/var/lib/deployer"; description = "Directory for deployer state and generated unit files"; }; @@ -69,7 +69,7 @@ in { serviceConfig = { Type = "oneshot"; - ExecStart = "${cfg.package}/bin/biz-deployer once"; + ExecStart = "${cfg.package}/bin/deployer once"; Environment = [ "HOME=/root" "AWS_SHARED_CREDENTIALS_FILE=/root/.aws/credentials" -- cgit v1.2.3