diff options
author | Eric Wong <e@80x24.org> | 2023-10-28 18:01:12 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-28 23:09:38 +0000 |
commit | 95856c34eaaa3c57829aea34f1afa42c23bc3124 (patch) | |
tree | af3de195867a5192aa5317665acee2865e97b082 /examples | |
parent | 3bca5c90c297c334580cffe352df6c6db4eded6b (diff) | |
download | public-inbox-95856c34eaaa3c57829aea34f1afa42c23bc3124.tar.gz |
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.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/public-inbox-httpd@.service | 4 | ||||
-rw-r--r-- | examples/public-inbox-imapd@.service | 2 | ||||
-rw-r--r-- | examples/public-inbox-nntpd@.service | 2 |
3 files changed, 4 insertions, 4 deletions
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 |