From: Eric Wong Date: Wed, 22 Feb 2023 18:17:39 +0000 (+0000) Subject: examples: remove `Standard{Error,Output} = syslog' lines X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0e6740e67da446d462fc267d9be2e0bff0de9c4;p=thirdparty%2Fpublic-inbox.git examples: remove `Standard{Error,Output} = syslog' lines 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. --- diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index 73731533f..a56f6f81e 100644 --- a/examples/public-inbox-httpd@.service +++ b/examples/public-inbox-httpd@.service @@ -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/public-inbox-imapd@.service b/examples/public-inbox-imapd@.service index 300019a85..8f5b79f29 100644 --- a/examples/public-inbox-imapd@.service +++ b/examples/public-inbox-imapd@.service @@ -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/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service index 56e1cc8fb..11bc223f9 100644 --- a/examples/public-inbox-nntpd@.service +++ b/examples/public-inbox-nntpd@.service @@ -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 abb414695..0e4860f73 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