aports/main/mpd/mpd.pre-install
Peter Bui c3b5cb847d 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)
2015-03-16 15:14:46 +00:00

4 lines
91 B
Bash

#!/bin/sh
adduser -S -h /var/lib/mpd -s /sbin/nologin -G audio -D mpd 2>/dev/null || true