rundeck: run as deployer
This commit is contained in:
parent
0ea95ab402
commit
15ed0197e3
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue