From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Install script supporting sysV init? Date: Tue, 28 Jan 2020 16:25:22 +0100 Message-ID: <20200128162522.4c493020@scratchpost.org> References: <20200126230211.1d700a9e@kompiuter> <20200126233820.02fa4cd3@scratchpost.org> <20200127170920.4ae3c415@kompiuter> <6539AA00-2F46-4115-A46D-661599AB837D@lepiller.eu> <20200128140655.26042789@kompiuter> <20200128155234.2ca6b419@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/OekRgH615kY_Jm4F2bGFCo="; protocol="application/pgp-signature"; micalg=pgp-sha256 Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34525) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwSk5-0000HX-D3 for guix-devel@gnu.org; Tue, 28 Jan 2020 10:25:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwSk4-0007nx-5W for guix-devel@gnu.org; Tue, 28 Jan 2020 10:25:29 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:51400) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iwSk3-0007kH-R4 for guix-devel@gnu.org; Tue, 28 Jan 2020 10:25:28 -0500 In-Reply-To: <20200128155234.2ca6b419@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Jan Cc: guix-devel@gnu.org --Sig_/OekRgH615kY_Jm4F2bGFCo= Content-Type: multipart/mixed; boundary="MP_/EMc4OcyAXM60QiQU766vUav" --MP_/EMc4OcyAXM60QiQU766vUav Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > (1) Try to start it twice. The second start attempt should fail and $? s= hould reflect that Nope, according to https://refspecs.linuxfoundation.org/LSB_2.1.0/LSB-Core-= generic/LSB-Core-generic/iniscrptact.html the second attempt should do noth= ing and indicate success. Attached a new version (moved pid file from /var/lock to /var/run ). --MP_/EMc4OcyAXM60QiQU766vUav Content-Type: application/octet-stream; name=guix-daemon Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=guix-daemon IyEvYmluL2Jhc2gKIyMjIEJFR0lOIElOSVQgSU5GTwojIFByb3ZpZGVzOiAgICAgICAgICBndWl4 LWRhZW1vbgojIFJlcXVpcmVkLVN0YXJ0OiAgICAkcmVtb3RlX2ZzICRzeXNsb2cKIyBSZXF1aXJl ZC1TdG9wOiAgICAgJHJlbW90ZV9mcyAkc3lzbG9nCiMgRGVmYXVsdC1TdGFydDogICAgIDIgMyA0 IDUKIyBEZWZhdWx0LVN0b3A6ICAgICAgMCAxIDYKIyBTaG9ydC1EZXNjcmlwdGlvbjogR3VpeCBi dWlsZCBkYWVtb24KIyBEZXNjcmlwdGlvbjogICAgICAgUHJvdmlkZXMgYSBkYWVtb24gdGhhdCBk b2VzIGJ1aWxkcyBmb3IgR3VpeAojIyMgRU5EIElOSVQgSU5GTwoKc2V0IC1lCnNldCAtbyBwaXBl ZmFpbApta2RpciAtcCAiL3Zhci9ydW4iCgpjYXNlICIkMSIgaW4Kc3RhcnQpCiAgaWYgWyAtZiAi L3Zhci9ydW4vZ3VpeC1kYWVtb24ucGlkIiBdCiAgdGhlbgogICAgcGlkPSJgY2F0IC92YXIvcnVu L2d1aXgtZGFlbW9uLnBpZGAiCiAgICBpZiBwcyB3d3cgIiR7cGlkfSIgfGdyZXAgLXFhIGd1aXgt ZGFlbW9uCiAgICB0aGVuCiAgICAgIGV4aXQgMAogICAgZWxzZQogICAgICBleGl0IDEKICAgIGZp CiAgZWxzZQogICAgZGFlbW9uaXplIFwKICAgICAgLWEgXAogICAgICAtZSAvdmFyL2xvZy9ndWl4 LWRhZW1vbi1zdGRlcnIubG9nIFwKIC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SBzdGFsZSBwaWQgZmlsZSIKICAgICAgZXhpdCAxCiAg ICBmaQogIGVsc2UKICAgIGVjaG8gImd1aXgtZGFlbW9uIGlzIG5vdCBydW5uaW5nIgogICAgZXhp dCAzCiAgZmkKICA7OwpyZXN0YXJ0KQpmb3JjZS1yZWxvYWQpCiAgIiQwIiBzdG9wCiAgIiQwIiBz dGFydAogIDs7CiopCiAgZWNobyAiVXNhZ2U6ICQwIChzdGFydHxzdG9wfHN0YXR1c3xyZXN0YXJ0 fGZvcmNlLXJlbG9hZCkiCiAgZXhpdCAzCiAgOzsKZXNhYwo= --MP_/EMc4OcyAXM60QiQU766vUav-- --Sig_/OekRgH615kY_Jm4F2bGFCo= Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl4wUmIACgkQ5xo1VCww uqWhdwf9H2Bw0/5Rvm57zMYSetmEVmSZbWtDRBVwujzsa5DllEvP4+Nb6bdG/6ia axMSryIQYUjCXpNJs7bqhFx6WtPWREqmdlQgz5IGWcLMq6Wb6aHmV4vag572ndOL mgNAD23nBvB6Lt2bQP/Jzn9MSfIxZxrqdewyfJbs8ZnPmYEFR/Xd7EhD83/kQK0u dYPC7B49m49sG8Kvck2EvyhJAF4cmpY2+rEuwgkGU5Aznlxoi+1YsxhG5fRptgbp dIwPWpKO0LK4fapOo6s1wP7cqJsHELXBCBR5ruql4OGQLjPrY3QD5jiF90Uj/XzU O0Qyi73RndB4fKR9R19kqut9PeS1ZQ== =LmmB -----END PGP SIGNATURE----- --Sig_/OekRgH615kY_Jm4F2bGFCo=--