Merge pull request #142 from herrernst/systemd-user-group

systemd: don't run as root, drop privileges
This commit is contained in:
Paul Lietar 2017-01-06 13:33:02 +01:00 committed by GitHub
commit f79850f6d6

View file

@ -4,7 +4,8 @@ Requires=network-online.target
After=network-online.target After=network-online.target
[Service] [Service]
#User=librespot User=nobody
Group=audio
Restart=always Restart=always
RestartSec=10 RestartSec=10
ExecStart=/usr/bin/librespot -n "%p on %H" ExecStart=/usr/bin/librespot -n "%p on %H"