From 15ed0197e3d32d310404c8766c5d0d3bfe0986e1 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sat, 10 Apr 2021 21:59:29 +0000 Subject: [PATCH] rundeck: run as deployer --- nix/pkgs/rundeck-bin/module.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/pkgs/rundeck-bin/module.nix b/nix/pkgs/rundeck-bin/module.nix index ecba3b39cf..c57a5f3bee 100644 --- a/nix/pkgs/rundeck-bin/module.nix +++ b/nix/pkgs/rundeck-bin/module.nix @@ -19,6 +19,7 @@ in { wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig = { + User = "deployer"; ExecStart = "${cfg.package}/bin/rundeckd -b /var/lib/rundeck"; StateDirectory = "rundeck"; };