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/[email protected] | 1 -
 examples/[email protected] | 1 -
 examples/[email protected] | 1 -
 examples/public-inbox-watch.service  | 2 --
 4 files changed, 5 deletions(-)

diff --git a/examples/[email protected] 
b/examples/[email protected]
index 73731533..a56f6f81 100644
--- a/examples/[email protected]
+++ b/examples/[email protected]
@@ -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
diff --git a/examples/[email protected] 
b/examples/[email protected]
index 300019a8..8f5b79f2 100644
--- a/examples/[email protected]
+++ b/examples/[email protected]
@@ -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
diff --git a/examples/[email protected] 
b/examples/[email protected]
index 56e1cc8f..11bc223f 100644
--- a/examples/[email protected]
+++ b/examples/[email protected]
@@ -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
diff --git a/examples/public-inbox-watch.service 
b/examples/public-inbox-watch.service
index abb41469..0e4860f7 100644
--- a/examples/public-inbox-watch.service
+++ b/examples/public-inbox-watch.service
@@ -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

Reply via email to