summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-06-13 02:04:22 +0200
committertv <tv@krebsco.de>2016-06-13 02:10:02 +0200
commite3933eb05e3c3164445f11e8499033b2d63c3f88 (patch)
treebcde6b76dd3f7541e4fbd59040bc051c3d26fcd9 /tv/2configs
parent8cb3b639db33cb79bfbbfc238448c8db70634ec9 (diff)
sprinkle with some write{B,D}ash
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/pulse.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/tv/2configs/pulse.nix b/tv/2configs/pulse.nix
index 8e611f2..5129197 100644
--- a/tv/2configs/pulse.nix
+++ b/tv/2configs/pulse.nix
@@ -67,8 +67,7 @@ in
};
serviceConfig = {
ExecStart = "${pkg}/bin/pulseaudio";
- ExecStartPre = pkgs.writeScript "pulse-start" ''
- #! /bin/sh
+ ExecStartPre = pkgs.writeDash "pulse-start" ''
install -o pulse -g pulse -m 0750 -d ${runDir}
install -o pulse -g pulse -m 0700 -d ${runDir}/home
'';