aboutsummaryrefslogtreecommitdiffstats
path: root/main/mpd/mpd.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/mpd/mpd.initd')
-rw-r--r--main/mpd/mpd.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/mpd/mpd.initd b/main/mpd/mpd.initd
index b894dd2fd8..4d279da902 100644
--- a/main/mpd/mpd.initd
+++ b/main/mpd/mpd.initd
@@ -41,3 +41,8 @@ stop() {
mpd --kill
eend $?
}
+
+start_pre() {
+ checkpath --directory --owner ${M_USER:-mpd} \
+ --mode 0775 /var/run/$NAME"
+}