mirror of
https://github.com/oSumAtrIX/free-librespot.git
synced 2025-12-19 18:04:20 +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
|
||||
|
||||
[Service]
|
||||
#User=librespot
|
||||
User=nobody
|
||||
Group=audio
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
ExecStart=/usr/bin/librespot -n "%p on %H"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue