diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-02-05 12:42:13 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-02-05 12:42:26 +0100 |
commit | c46d50039feca3d368b23cf04876ab7bcc5664ea (patch) | |
tree | 58da1496be062821760a61110017ca2433af4938 /main/mpd/mpd.initd | |
parent | c081bef5cbf4b1f506a95bb1acf9cad341b5dfca (diff) | |
download | aports-c46d50039feca3d368b23cf04876ab7bcc5664ea.tar.bz2 aports-c46d50039feca3d368b23cf04876ab7bcc5664ea.tar.xz |
main/mpd: set correct permissions on var/lib/mpd directory and fix init
Diffstat (limited to 'main/mpd/mpd.initd')
-rw-r--r-- | main/mpd/mpd.initd | 5 |
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" +} |