1
0

Use DynamicUser in systemd unit.

This commit is contained in:
Alexander Andreev 2022-06-28 04:58:17 +04:00
parent b3634b610e
commit 10181c60d2
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

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