mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Merge pull request #142 from herrernst/systemd-user-group
systemd: don't run as root, drop privileges
This commit is contained in:
commit
f79850f6d6
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue