diff options
author | Peter Bui <pnutzh4x0r@gmail.com> | 2015-03-14 12:41:38 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-03-16 15:14:46 +0000 |
commit | c3b5cb847de1ee5f68f4e031e09b8978d401aebf (patch) | |
tree | cc8b42efffe9c313a442d51409e04324ec342801 /main/mpd/mpd.pre-install | |
parent | bc0fb401440b07d8af23dcfadc2648e9bba7c65d (diff) | |
download | aports-c3b5cb847de1ee5f68f4e031e09b8978d401aebf.tar.bz2 aports-c3b5cb847de1ee5f68f4e031e09b8978d401aebf.tar.xz |
main/mpd: fix pidfile, change to system user
1. Fix handling of pidfile (parsing and creation of directory on start)
2. Make mpd a system user (similar to minidlna)
Diffstat (limited to 'main/mpd/mpd.pre-install')
-rw-r--r-- | main/mpd/mpd.pre-install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/mpd/mpd.pre-install b/main/mpd/mpd.pre-install index cb1b8d39df..70bddb21da 100644 --- a/main/mpd/mpd.pre-install +++ b/main/mpd/mpd.pre-install @@ -1,4 +1,3 @@ #!/bin/sh -adduser -h /var/lib/mpd -s /sbin/nologin -G audio -D mpd 2>/dev/null || true - +adduser -S -h /var/lib/mpd -s /sbin/nologin -G audio -D mpd 2>/dev/null || true |