1
0

This service doesn't need its own user, dynamic would be sufficient.

This commit is contained in:
Alexander Andreev 2022-04-02 19:04:37 +04:00
parent d063ede426
commit 5d58e4d1f9
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
2 changed files with 1 additions and 6 deletions

View File

@ -1,4 +0,0 @@
# sysusers.d
g dwradio - -
u dwradio - -
m dwradio dwradio

View File

@ -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=/