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] [Service]
Type=simple Type=simple
Restart=on-failure Restart=on-failure
User=dwfiles DynamicUser=yes
Group=dwfiles
ExecStart=/usr/bin/dwelling-files -conf /etc/dwelling/files.yaml ExecStart=/usr/bin/dwelling-files -conf /etc/dwelling/files.yaml
ReadOnlyPaths=/ ReadOnlyPaths=/