about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorKirill Elagin <kirelagin@gmail.com>2020-04-17 13:35:29 +0300
committerKirill Elagin <kirelagin@gmail.com>2020-04-17 13:44:48 +0300
commitf1a78e1b5ea83d4875490d823e2ea5903edd282b (patch)
tree618196c4f7b6cd670b490300d7102eb7550b0013 /nixos/modules/system
parent5822d03851cfd9e8e7449c05c2cea2232e52cc42 (diff)
downloadnixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.tar
nixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.tar.gz
nixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.tar.bz2
nixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.tar.lz
nixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.tar.xz
nixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.tar.zst
nixlib-f1a78e1b5ea83d4875490d823e2ea5903edd282b.zip
fixup! systemd: Simplify unit script names
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 7682b26e5b7f..caa3435cfcda 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -256,37 +256,31 @@ let
         }
         (mkIf (config.preStart != "")
           { serviceConfig.ExecStartPre = makeJobScript "${name}-pre-start" ''
-              #! ${pkgs.runtimeShell} -e
               ${config.preStart}
             '';
           })
         (mkIf (config.script != "")
           { serviceConfig.ExecStart = makeJobScript "${name}-start" ''
-              #! ${pkgs.runtimeShell} -e
               ${config.script}
             '' + " " + config.scriptArgs;
           })
         (mkIf (config.postStart != "")
           { serviceConfig.ExecStartPost = makeJobScript "${name}-post-start" ''
-              #! ${pkgs.runtimeShell} -e
               ${config.postStart}
             '';
           })
         (mkIf (config.reload != "")
           { serviceConfig.ExecReload = makeJobScript "${name}-reload" ''
-              #! ${pkgs.runtimeShell} -e
               ${config.reload}
             '';
           })
         (mkIf (config.preStop != "")
           { serviceConfig.ExecStop = makeJobScript "${name}-pre-stop" ''
-              #! ${pkgs.runtimeShell} -e
               ${config.preStop}
             '';
           })
         (mkIf (config.postStop != "")
           { serviceConfig.ExecStopPost = makeJobScript "${name}-post-stop" ''
-              #! ${pkgs.runtimeShell} -e
               ${config.postStop}
             '';
           })