mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
don't run as root, drop privileges
nobody:audio should exists on most distributions explicit user would be prefered
This commit is contained in:
parent
e254bb7291
commit
6f85deadd9
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…
Reference in a new issue