nobody user is replaced with more secure DynamicUser feature.
This commit is contained in:
parent
2b9774cbff
commit
2516cca24e
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user