Merge pull request #222080 from Stunkymonkey/nixos-optionalString
This commit is contained in:
@@ -242,7 +242,7 @@ in {
|
||||
jobdir="${jenkinsCfg.home}/$jenkinsjobname"
|
||||
rm -rf "$jobdir"
|
||||
done
|
||||
'' + (if cfg.accessUser != "" then reloadScript else "");
|
||||
'' + (optionalString (cfg.accessUser != "") reloadScript);
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
User = jenkinsCfg.user;
|
||||
|
||||
Reference in New Issue
Block a user