diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/apps/jenkins/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/apps/jenkins/default.nix b/modules/apps/jenkins/default.nix index 93331b2..88107e0 100644 --- a/modules/apps/jenkins/default.nix +++ b/modules/apps/jenkins/default.nix @@ -42,7 +42,7 @@ let path = ".war.path"; tmpdir = "${cfg.home}/tmp"; - startJenkins = pkgs.writeBashScript "jenkins-${name}-start" '' + start = pkgs.writeBashScriptBin "jenkins-${name}" '' set -euo pipefail umask 0027 export HOME='${cfg.home}' @@ -126,7 +126,7 @@ let ''; serviceConfig = { - ExecStart = startJenkins; + ExecStart = "${start}/bin/jenkins-${name}"; KillMode = "mixed"; PermissionsStartOnly = true; Restart = "always"; |