diff options
author | Bruno Pagani | 2016-12-28 19:30:39 +0100 |
---|---|---|
committer | Bruno Pagani | 2016-12-28 19:30:39 +0100 |
commit | 65856cbbe2324ce7dec86311f077a5ef14ac7928 (patch) | |
tree | 5c6cef3349bc2955b8225d4d8280267d28da35fb /mpd.install | |
parent | 2db46474a92d3d2306af27ee6af60085ca75782b (diff) | |
download | aur-65856cbbe2324ce7dec86311f077a5ef14ac7928.tar.gz |
Switch to systemd-sysusers and systemd-tmpfiles
Used for mpd user and dirs creation.
Diffstat (limited to 'mpd.install')
-rw-r--r-- | mpd.install | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mpd.install b/mpd.install index cffab46a814e..891e1cc30e88 100644 --- a/mpd.install +++ b/mpd.install @@ -1,5 +1,4 @@ post_install() { - getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null - getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null - usr/bin/systemd-tmpfiles --create mpd.conf || true + systemd-sysusers mpd.conf + systemd-tmpfiles --create mpd.conf } |