diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-25 21:51:43 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-25 21:51:43 -0500 |
| commit | abdace209323b65f6c5db1bf553ede1f60da00cc (patch) | |
| tree | fd253f652d0e77838e9196ee9890cef94547bcdb /Omni/Deploy/Caddy.hs | |
| parent | 5e9cb8c4983f6cdd05568029e9c233202d01c9bf (diff) | |
Omni/Deploy: add WorkingDirectory support and rename to deployer
- 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 <noreply@anthropic.com>
Diffstat (limited to 'Omni/Deploy/Caddy.hs')
| -rw-r--r-- | Omni/Deploy/Caddy.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Omni/Deploy/Caddy.hs b/Omni/Deploy/Caddy.hs index 6cedf92..72b1d43 100644 --- a/Omni/Deploy/Caddy.hs +++ b/Omni/Deploy/Caddy.hs @@ -194,7 +194,7 @@ mkTestService name path http = { serviceName = name, serviceArtifact = Artifact "nix-closure" path, serviceHosts = ["biz"], - serviceExec = Exec Nothing "root" "root", + serviceExec = Exec Nothing "root" "root" Nothing, serviceEnv = mempty, serviceEnvFile = Nothing, serviceHttp = http, |
