1
0
Fork 0

nobody user is replaced with more secure DynamicUser feature.

This commit is contained in:
Alexander Andreev 2021-11-03 23:38:29 +04:00
parent 2b9774cbff
commit 2516cca24e
Signed by: Arav
GPG Key ID: 610DF2574456329F
1 changed files with 3 additions and 4 deletions

View File

@ -1,13 +1,12 @@
[Unit]
Description=HTTPProcWatchD HTTP process watcher
Description=HTTPProcWatchD hands out a JSON HTTP endpoint to see status of watched processes
After=network.target
[Service]
Type=simple
User=nobody
Group=nobody
DynamicUser=yes
Restart=on-failure
ExecStart=/usr/bin/httpprocwatchd --config /etc/httpprocwatchd/config.json
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target