diff options
Diffstat (limited to 'examples/public-inbox-nntpd@.service')
-rw-r--r-- | examples/public-inbox-nntpd@.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service index 56e1cc8f..556cb76f 100644 --- a/examples/public-inbox-nntpd@.service +++ b/examples/public-inbox-nntpd@.service @@ -16,6 +16,8 @@ After = public-inbox-nntpd.socket [Service] Environment = PI_CONFIG=/home/pi/.public-inbox/config \ PATH=/usr/local/bin:/usr/bin:/bin \ +TZ=UTC \ +MALLOC_MMAP_THRESHOLD_=131072 \ PERL_INLINE_DIRECTORY=/tmp/.pub-inline LimitNOFILE = 30000 @@ -24,7 +26,6 @@ ExecStart = /usr/local/bin/public-inbox-nntpd \ -1 /var/log/public-inbox/nntpd.out.log \ --cert /etc/ssl/certs/news.example.com.pem \ --key /etc/ssl/private/news.example.com.key -StandardError = syslog # NonBlocking is REQUIRED to avoid a race condition if running # simultaneous services @@ -33,7 +34,7 @@ NonBlocking = true Sockets = public-inbox-nntpd.socket KillSignal = SIGQUIT -User = nobody +User = news Group = ssl-cert ExecReload = /bin/kill -HUP $MAINPID TimeoutStopSec = 86400 |