This service doesn't need its own user, dynamic would be sufficient.
This commit is contained in:
parent
d063ede426
commit
5d58e4d1f9
@ -1,4 +0,0 @@
|
|||||||
# sysusers.d
|
|
||||||
g dwradio - -
|
|
||||||
u dwradio - -
|
|
||||||
m dwradio dwradio
|
|
@ -5,8 +5,7 @@ After=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=dwradio
|
DynamicUser=yes
|
||||||
Group=dwradio
|
|
||||||
ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml
|
ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml
|
||||||
|
|
||||||
ReadOnlyPaths=/
|
ReadOnlyPaths=/
|
||||||
|
Loading…
Reference in New Issue
Block a user