From patchwork Wed Sep 16 11:45:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Nosthoff X-Patchwork-Id: 1365205 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=busybox.net Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=heine.tech header.i=@heine.tech header.a=rsa-sha256 header.s=dkim header.b=rYhXJAXx; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Bryx836blz9sTK for ; Wed, 16 Sep 2020 21:46:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0FF5D872F6; Wed, 16 Sep 2020 11:46:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rSQ3iei1V2Q1; Wed, 16 Sep 2020 11:46:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 27B13872DB; Wed, 16 Sep 2020 11:46:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A72171BF2EF for ; Wed, 16 Sep 2020 11:46:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A3B0D27366 for ; Wed, 16 Sep 2020 11:46:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D7D24JgLWxum for ; Wed, 16 Sep 2020 11:46:21 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.heine.tech (mail.heine.tech [195.201.24.99]) by silver.osuosl.org (Postfix) with ESMTPS id C115427236 for ; Wed, 16 Sep 2020 11:46:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 1628A18150D; Wed, 16 Sep 2020 13:46:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heine.tech; s=dkim; t=1600256778; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=SASA9Zr9MWS3qX0t2jp2eGVyOrzHpc5TGtdzVvlgYV0=; b=rYhXJAXxIZTHRTlKMPMXXDSfbyfio492UHEeBW6iyUQPmUr7K1Zy9Lhi3DeULy4caf1CMc OdAz7w4SUb++cn1fkH7VFwS9x2wii1gDH7bxin0Ol79RX+5S+z/EvJIu9r0a2Mi4K7CooA 0JtZSX07pNbHvRqD2bJClYMiRlSibII= To: buildroot@buildroot.org Date: Wed, 16 Sep 2020 13:45:02 +0200 Message-Id: <20200916114508.3575-3-buildroot@heine.tech> In-Reply-To: <20200915215645.2010-1-buildroot@heine.tech> References: <20200915215645.2010-1-buildroot@heine.tech> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 Subject: [Buildroot] [PATCH v3 2/8] package/bandwithd: use /run for PIDFile X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Michael Nosthoff via buildroot Reply-To: Michael Nosthoff Cc: Michael Nosthoff , Nathaniel Roach Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: PIDFile= references a path below legacy directory /var/run/, updating /var/run/bandwithd.pid → /run/bandwithd.pid; please update the unit file accordingly. Signed-off-by: Michael Nosthoff --- package/bandwidthd/bandwidthd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/bandwidthd/bandwidthd.service b/package/bandwidthd/bandwidthd.service index 9c03d42946..ab7f05a2e8 100644 --- a/package/bandwidthd/bandwidthd.service +++ b/package/bandwidthd/bandwidthd.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=forking ExecStart=/usr/bin/bandwidthd -PIDFile=/var/run/bandwidthd.pid +PIDFile=/run/bandwidthd.pid [Install] WantedBy=multi-user.target