Skip to content

Commit 0d09533

Browse files
committed
Using DynamicUser instead of nobody/nogroup in systemd service
1 parent 8afbba7 commit 0d09533

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

https_dns_proxy.service.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ After=network.target
77

88
[Service]
99
Type=simple
10+
DynamicUser=yes
1011
Restart=on-failure
1112
ExecStart=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/https_dns_proxy \
12-
-u nobody -g nogroup -v -v ${SERVICE_EXTRA_OPTIONS}
13+
-v -v ${SERVICE_EXTRA_OPTIONS}
1314
TimeoutStopSec=10
1415

1516
[Install]

0 commit comments

Comments
 (0)