1
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

View File

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