From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CC5DE1F626 for ; Wed, 22 Feb 2023 18:17:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1677089859; bh=Zkxxz/QkZQ/nA6QokwJqDJ30c6+2TSdcdYtVCoSHe0I=; h=From:To:Subject:Date:From; b=u1nBiVH82vU8AM2+pGjpNcZq5fAokblcDqOskH55g2e3nPG30W0DPckQjIAp9qUAT 7Ricb6IGY74SKbUzOBUuwV8NYmUSpbXOIn0zPXqW1F9fLr0bfJWmP30nLe1e2vsF4Q Q/Cp+52UFRTRV+YdaBPSzEdMO0TJqH4tE91Y3i6M= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH] examples: remove `Standard{Error,Output} = syslog' lines Date: Wed, 22 Feb 2023 18:17:39 +0000 Message-Id: <20230222181739.2131209-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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 | 1 - examples/public-inbox-imapd@.service | 1 - examples/public-inbox-nntpd@.service | 1 - examples/public-inbox-watch.service | 2 -- 4 files changed, 5 deletions(-) diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service index 73731533..a56f6f81 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 300019a8..8f5b79f2 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 56e1cc8f..11bc223f 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 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