From 95856c34eaaa3c57829aea34f1afa42c23bc3124 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 Oct 2023 18:01:12 +0000 Subject: examples/*.service: avoid `nobody' user on systemd systemd complains about `User=nobody' since `nobody' has access to all files which can't be mapped to a valid UID. We'll also switch to `Group=ssl-cert' since that ought to be able to read TLS certificates. --- examples/public-inbox-httpd@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/public-inbox-httpd@.service') diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index a56f6f81..11859198 100644 --- a/examples/public-inbox-httpd@.service +++ b/examples/public-inbox-httpd@.service @@ -32,8 +32,8 @@ NonBlocking = true Sockets = public-inbox-httpd.socket KillSignal = SIGQUIT -User = nobody -Group = nogroup +User = news +Group = ssl-cert ExecReload = /bin/kill -HUP $MAINPID TimeoutStopSec = 86400 KillMode = process -- cgit v1.2.3-24-ge0c7