rundeck: run as deployer

This commit is contained in:
Luke Granger-Brown 2021-04-10 21:59:29 +00:00
parent 0ea95ab402
commit 15ed0197e3

View file

@ -19,6 +19,7 @@ in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" ]; after = [ "network.target" ];
serviceConfig = { serviceConfig = {
User = "deployer";
ExecStart = "${cfg.package}/bin/rundeckd -b /var/lib/rundeck"; ExecStart = "${cfg.package}/bin/rundeckd -b /var/lib/rundeck";
StateDirectory = "rundeck"; StateDirectory = "rundeck";
}; };