From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:43886) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwTJZ-0003dm-9z for guix-patches@gnu.org; Tue, 28 Jan 2020 11:02:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwTJU-0008Mk-G7 for guix-patches@gnu.org; Tue, 28 Jan 2020 11:02:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55011) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iwTJS-0008LP-TP for guix-patches@gnu.org; Tue, 28 Jan 2020 11:02:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iwTJS-0003Wa-Tv for guix-patches@gnu.org; Tue, 28 Jan 2020 11:02:02 -0500 Subject: [bug#39329] [PATCH 1/2] Add system start-up files for guix-daemon. Resent-Message-ID: Date: Tue, 28 Jan 2020 17:01:58 +0100 From: Danny Milosavljevic Message-ID: <20200128170158.2c7d692c@scratchpost.org> In-Reply-To: <20200128155900.12137-1-dannym@scratchpost.org> References: <20200128155529.12071-1-dannym@scratchpost.org> <20200128155900.12137-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=PGqs2z11aOjW7+XnI7yqvW"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39329@debbugs.gnu.org --Sig_/=PGqs2z11aOjW7+XnI7yqvW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 28 Jan 2020 16:58:59 +0100 Danny Milosavljevic wrote: > + if ps www "${pid}" |grep -qa guix-daemon If pgrep is standard enough, might want to use that. Is it? --Sig_/=PGqs2z11aOjW7+XnI7yqvW Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl4wWvYACgkQ5xo1VCww uqWfewf9HI8Erm9ZCYm+vqYEE6AOUHoW33KQMFJWAJ0d48zol9ujCksqNI0EHXgk C6TPQRno5Hjxnl2g+bpaRj/zfsp9vOpTBBcwVaeTilOKl9XKxXD5yy0r/pBLlx+j mdBfzuQGDIGnk0/iNsNKW9N9h12C1BSGqh3UQ7iKkVSozGGqT9pKrV6R17lXNlri i+rcIzL7A1mNS7BpU8DQTYsoLk4nR5RnljW7NoymafeZAtuXDhipEnkxsZ3WWPiB hgWGm/K6qrH+gFHMLfqqstz45IP1BiqfC63shbqheIvbbiy0wotMoNDxVi9zdFET duv7QUp6VwRfZ3JNnSYrHx5MIses8g== =0ohs -----END PGP SIGNATURE----- --Sig_/=PGqs2z11aOjW7+XnI7yqvW--