fix: rev-deploy must skip unit install — units are hm symlinks
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,8 @@ in
|
|||||||
WorkingDirectory = "%h/tea/rev";
|
WorkingDirectory = "%h/tea/rev";
|
||||||
ExecStart = "${pkgs.bun}/bin/bun scripts/deploy-webhook.ts";
|
ExecStart = "${pkgs.bun}/bin/bun scripts/deploy-webhook.ts";
|
||||||
EnvironmentFile = "%h/.config/rev/deploy.env";
|
EnvironmentFile = "%h/.config/rev/deploy.env";
|
||||||
Environment = [ "PATH=${toolPath}" ];
|
# Unit files are home-manager symlinks; deploy.sh must not rewrite them.
|
||||||
|
Environment = [ "PATH=${toolPath}" "REV_SKIP_UNIT_INSTALL=1" ];
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 2;
|
RestartSec = 2;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user