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