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 ++-- examples/public-inbox-imapd@.service | 2 +- examples/public-inbox-nntpd@.service | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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 diff --git a/examples/public-inbox-imapd@.service b/examples/public-inbox-imapd@.service index 8f5b79f2..80104605 100644 --- a/examples/public-inbox-imapd@.service +++ b/examples/public-inbox-imapd@.service @@ -32,7 +32,7 @@ NonBlocking = true Sockets = public-inbox-imapd.socket KillSignal = SIGQUIT -User = nobody +User = news Group = ssl-cert ExecReload = /bin/kill -HUP $MAINPID TimeoutStopSec = 86400 diff --git a/examples/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service index 11bc223f..24f9ca73 100644 --- a/examples/public-inbox-nntpd@.service +++ b/examples/public-inbox-nntpd@.service @@ -32,7 +32,7 @@ NonBlocking = true Sockets = public-inbox-nntpd.socket KillSignal = SIGQUIT -User = nobody +User = news Group = ssl-cert ExecReload = /bin/kill -HUP $MAINPID TimeoutStopSec = 86400 -- cgit v1.2.3-24-ge0c7