Use DynamicUser in systemd unit.
This commit is contained in:
parent
b3634b610e
commit
10181c60d2
@ -5,8 +5,7 @@ After=network-online.target
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
User=dwfiles
|
||||
Group=dwfiles
|
||||
DynamicUser=yes
|
||||
ExecStart=/usr/bin/dwelling-files -conf /etc/dwelling/files.yaml
|
||||
|
||||
ReadOnlyPaths=/
|
||||
|
Loading…
Reference in New Issue
Block a user