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
[Service]
#User=librespot
User=nobody
Group=audio
Restart=always
RestartSec=10
ExecStart=/usr/bin/librespot -n "%p on %H"