diff options
author | Eric Wong <e@80x24.org> | 2016-07-08 21:08:33 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-07-08 21:13:48 +0000 |
commit | 193e1b8b08de72ae1675260436aab10e2bb44e99 (patch) | |
tree | 67e1c146e78e1771baaed06159335d49ddd9a0e3 /examples | |
parent | 3dc9f9ca80c8a9f42ae7c674dd78d59ba062a87c (diff) | |
download | public-inbox-193e1b8b08de72ae1675260436aab10e2bb44e99.tar.gz |
Our nntpd and httpd are similar so configuration differences should be minimized
Diffstat (limited to 'examples')
-rw-r--r-- | examples/public-inbox-httpd.socket | 2 | ||||
-rw-r--r-- | examples/public-inbox-httpd@.service | 4 | ||||
-rw-r--r-- | examples/public-inbox-nntpd@.service | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/examples/public-inbox-httpd.socket b/examples/public-inbox-httpd.socket index da37aec9..1a1ed735 100644 --- a/examples/public-inbox-httpd.socket +++ b/examples/public-inbox-httpd.socket @@ -3,7 +3,7 @@ Description = public-inbox-httpd socket [Socket] -ListenStream = 127.0.0.1:280 +ListenStream = 80 Service = public-inbox-httpd@1.service [Install] diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index 4efea2ad..56117ef0 100644 --- a/examples/public-inbox-httpd@.service +++ b/examples/public-inbox-httpd@.service @@ -17,7 +17,9 @@ 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 diff --git a/examples/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service index bdd97341..62202c2f 100644 --- a/examples/public-inbox-nntpd@.service +++ b/examples/public-inbox-nntpd@.service @@ -18,8 +18,8 @@ PERL_INLINE_DIRECTORY=/tmp/.pub-inline LimitNOFILE = 30000 ExecStartPre = /bin/mkdir -p -m 1777 /tmp/.pub-inline ExecStart = /usr/local/bin/public-inbox-nntpd \ --1 /var/log/public-inbox/nntpd.out.log \ --2 /var/log/public-inbox/nntpd.err.log +-1 /var/log/public-inbox/nntpd.out.log +StandardError = syslog Sockets = public-inbox-nntpd.socket KillSignal = SIGQUIT User = nobody |