From 2516cca24e9138cd87922fe025ca8f174a5715f1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 3 Nov 2021 23:38:29 +0400 Subject: [PATCH] nobody user is replaced with more secure DynamicUser feature. --- httpprocwatchd.service | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/httpprocwatchd.service b/httpprocwatchd.service index 463476a..e13da05 100644 --- a/httpprocwatchd.service +++ b/httpprocwatchd.service @@ -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 \ No newline at end of file +WantedBy=multi-user.target