]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
examples: remove `Standard{Error,Output} = syslog' lines
authorEric Wong <e@80x24.org>
Wed, 22 Feb 2023 18:17:39 +0000 (18:17 +0000)
committerEric Wong <e@80x24.org>
Wed, 22 Feb 2023 21:36:20 +0000 (21:36 +0000)
systemd (247.3-7+deb11u1 on Debian 11.x) considers them "obsolete" and
emits the following to my syslog:

  Standard output type syslog is obsolete, automatically updating to journal.
  Please update your unit file, and consider removing the setting altogether.

So we'll remove it altogether, as I'm sticking with rsyslog for now.

examples/public-inbox-httpd@.service
examples/public-inbox-imapd@.service
examples/public-inbox-nntpd@.service
examples/public-inbox-watch.service

index 73731533f7eccd639476677c56adb6dc71d5e920..a56f6f81edd94fa4e8b0f6f00ce046c5074a9a7c 100644 (file)
@@ -25,7 +25,6 @@ LimitNOFILE = 30000
 ExecStartPre = /bin/mkdir -p -m 1777 /tmp/.pub-inline
 ExecStart = /usr/local/bin/public-inbox-httpd \
 -1 /var/log/public-inbox/httpd.out.log
-StandardError = syslog
 
 # NonBlocking is REQUIRED to avoid a race condition if running
 # simultaneous services
index 300019a856611fc4159ff69b164ea8d0b254ddbd..8f5b79f29572a42c4cb36265290b811af1d8f00a 100644 (file)
@@ -24,7 +24,6 @@ ExecStart = /usr/local/bin/public-inbox-imapd -W0 \
 -1 /var/log/public-inbox/imapd.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
index 56e1cc8fb61ba99ab9cc1cc01a96f05e4fee4a2e..11bc223f92a25cd85cdb9784d2e40b3e49020920 100644 (file)
@@ -24,7 +24,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
index abb414695626b3861a4d30ec932d887808c919a8..0e4860f7360ec3de6884d4c24213738e51cc7195 100644 (file)
@@ -9,8 +9,6 @@ Environment = PI_CONFIG=/home/pi/.public-inbox/config \
 PATH=/usr/local/bin:/usr/bin:/bin
 ExecStart = /usr/local/bin/public-inbox-watch
 
-StandardOutput = syslog
-StandardError = syslog
 ExecReload = /bin/kill -HUP $MAINPID
 # this user must have read access to Maildirs it watches
 User = pi