X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=examples%2Fpublic-inbox-httpd%40.service;h=56117ef09368405ac21683d62b33d14edfda0c63;hb=193e1b8b08de72ae1675260436aab10e2bb44e99;hp=3bb707263fbd4cfabd7be95252646e89d3e880b0;hpb=9dc61f9132a7c4ac4a4d067cdd48efb7c28de102;p=public-inbox.git diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index 3bb70726..56117ef0 100644 --- a/examples/public-inbox-httpd@.service +++ b/examples/public-inbox-httpd@.service @@ -17,13 +17,16 @@ PERL_INLINE_DIRECTORY=/tmp/.pub-inline LimitNOFILE = 30000 ExecStartPre = /bin/mkdir -p -m 1777 /tmp/.pub-inline -ExecStart = /usr/local/bin/public-inbox-httpd +ExecStart = /usr/local/bin/public-inbox-httpd \ +-1 /var/log/public-inbox/httpd.out.log +StandardError = syslog Sockets = public-inbox-httpd.socket KillSignal = SIGQUIT User = nobody Group = nogroup ExecReload = /bin/kill -HUP $MAINPID -TimeoutStopSec = 3600 +TimeoutStopSec = 86400 +KillMode = process [Install] WantedBy = multi-user.target