From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Install script supporting sysV init? Date: Tue, 28 Jan 2020 11:34:23 +0100 Message-ID: <87zhe7hntc.fsf@gnu.org> References: <20200126230211.1d700a9e@kompiuter> <20200126233820.02fa4cd3@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47659) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwOCQ-0006Y9-6C for guix-devel@gnu.org; Tue, 28 Jan 2020 05:34:27 -0500 In-Reply-To: <20200126233820.02fa4cd3@scratchpost.org> (Danny Milosavljevic's message of "Sun, 26 Jan 2020 23:38:20 +0100") 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: Danny Milosavljevic Cc: guix-devel@gnu.org Hi, Danny Milosavljevic skribis: > That said, sysv init scripts are just shell scripts which support the arg= uments > "start", "status", "stop" and sometimes have an LSB header specifying whe= re > to put the stuff (which runlevels are supposed to have it). > > We would basically put the following file into /etc/init.d/guix-daemon > and make it executable: When you have something that works, we can add it next to the Upstart and systemd files in etc/ (in the source tree), along with documentation and proper handling in =E2=80=98guix-install.sh=E2=80=99. Ludo=E2=80=99.