From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B28FF13829C for ; Tue, 7 Jun 2016 13:14:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1C53254034; Tue, 7 Jun 2016 13:14:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D928121C038 for ; Tue, 7 Jun 2016 13:14:02 +0000 (UTC) Received: from [10.1.1.204] (unknown [65.213.236.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mjo) by smtp.gentoo.org (Postfix) with ESMTPSA id 92386340D01 for ; Tue, 7 Jun 2016 13:14:01 +0000 (UTC) Subject: Re: [gentoo-user] Safe systemd "reload" command To: gentoo-user@lists.gentoo.org References: <57535ABD.3010005@gentoo.org> <5756005B.1090302@gentoo.org> From: Michael Orlitzky Message-ID: <5756C893.5020905@gentoo.org> Date: Tue, 7 Jun 2016 09:13:55 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: a77bf82f-1eab-434a-8a38-f2145b8cf5b4 X-Archives-Hash: cd5fbdf7504e4b91cf764c26c7bf0240 On 06/07/2016 06:17 AM, Tom H wrote: > > I've just looked at your script. > > Do > systemctl try-restart spamassassin > and > systemctl try-restart amavisd > need "2>/dev/null" if you're booted with sysvinit+openrc but have > systemd installed like the rc-service invocations in the opposite > case? or do they fail silently? > Beats me, I don't have any way to test it. I am planning to do another revision bump at some point with ExecReload for spamd, so if anyone tells me that I need 2>/dev/null on those lines, I'll fix it.