From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D2A281382C5 for ; Tue, 16 Feb 2021 08:33:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BC2AE0918; Tue, 16 Feb 2021 08:33:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1425CE0918 for ; Tue, 16 Feb 2021 08:33:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19F83340F5A for ; Tue, 16 Feb 2021 08:33:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F9F54A4 for ; Tue, 16 Feb 2021 08:33:24 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1613464399.1f7a406c30e7c3d28528e70222120ef353f41f5a.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/lxd/files/lxd-4.0.0.initd X-VCS-Directories: app-emulation/lxd/files/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 1f7a406c30e7c3d28528e70222120ef353f41f5a X-VCS-Branch: master Date: Tue, 16 Feb 2021 08:33:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e7c44ec4-184d-4aeb-a501-b7f3867c26dc X-Archives-Hash: 91c7eb62743aeeb9b033a270fa088d27 commit: 1f7a406c30e7c3d28528e70222120ef353f41f5a Author: Joonas Niilola gentoo org> AuthorDate: Tue Feb 16 08:33:00 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Feb 16 08:33:19 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7a406c app-emulation/lxd: remove pidfile on shutdown Signed-off-by: Joonas Niilola gentoo.org> app-emulation/lxd/files/lxd-4.0.0.initd | 1 + 1 file changed, 1 insertion(+) diff --git a/app-emulation/lxd/files/lxd-4.0.0.initd b/app-emulation/lxd/files/lxd-4.0.0.initd index 51284f6e2ae..1cd4da1840b 100644 --- a/app-emulation/lxd/files/lxd-4.0.0.initd +++ b/app-emulation/lxd/files/lxd-4.0.0.initd @@ -31,5 +31,6 @@ start() { stop() { ebegin "Stopping lxd service (but not containers)." start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} + rm -f ${PIDFILE} eend ${?} }