diff options
author | lassulus <lass@aidsballs.de> | 2016-06-13 13:50:52 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-06-13 13:50:52 +0200 |
commit | 23385c2984c9d4fbff65c920d9d59bc29314a639 (patch) | |
tree | d7e4f635be78922359b21970f6a6c8731995e38d /krebs/3modules/apt-cacher-ng.nix | |
parent | de43b0e6f50e4d044cc0609a3d7d7c7d869552fe (diff) | |
parent | 2dd4dbbf6ea77972c7d5edb0ec25b8e778bfeb50 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'krebs/3modules/apt-cacher-ng.nix')
-rw-r--r-- | krebs/3modules/apt-cacher-ng.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/krebs/3modules/apt-cacher-ng.nix b/krebs/3modules/apt-cacher-ng.nix index 46b405842..e80d383f8 100644 --- a/krebs/3modules/apt-cacher-ng.nix +++ b/krebs/3modules/apt-cacher-ng.nix @@ -135,8 +135,7 @@ let wantedBy = [ "multi-user.target" ]; serviceConfig = { PermissionsStartOnly = true; - ExecStartPre = pkgs.writeScript "acng-init" '' - #!/bin/sh + ExecStartPre = pkgs.writeDash "acng-init" '' mkdir -p ${shell.escape cfg.cacheDir} ${shell.escape cfg.logDir} chown acng:acng ${shell.escape cfg.cacheDir} ${shell.escape cfg.logDir} ''; |