From patchwork Sat Oct 12 19:31:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 15703 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A87541749C; Sat, 12 Oct 2019 20:48:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5FD2B173D5 for ; Sat, 12 Oct 2019 20:48:39 +0100 (BST) Received: from localhost ([::1]:35808 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJNNW-00021w-K4 for patchwork@mira.cbaines.net; Sat, 12 Oct 2019 15:48:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52797) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iJNMz-0001nu-B4 for guix-patches@gnu.org; Sat, 12 Oct 2019 15:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iJNMy-0004R7-3R for guix-patches@gnu.org; Sat, 12 Oct 2019 15:48:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53668) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iJNMy-0004R3-0A for guix-patches@gnu.org; Sat, 12 Oct 2019 15:48:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iJNMx-0002WD-T6 for guix-patches@gnu.org; Sat, 12 Oct 2019 15:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37624] Try to add Runit daemon setup in documentation (install guix in existing GNU/Linux) References: In-Reply-To: Resent-From: Foxmean Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Oct 2019 19:48:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37624 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 37624@debbugs.gnu.org Received: via spool by 37624-submit@debbugs.gnu.org id=B37624.15709096519618 (code B ref 37624); Sat, 12 Oct 2019 19:48:03 +0000 Received: (at 37624) by debbugs.gnu.org; 12 Oct 2019 19:47:31 +0000 Received: from localhost ([127.0.0.1]:34254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJNMQ-0002Uz-UY for submit@debbugs.gnu.org; Sat, 12 Oct 2019 15:47:31 -0400 Received: from mail-40135.protonmail.ch ([185.70.40.135]:17030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iJN6t-0007c8-Ob for 37624@debbugs.gnu.org; Sat, 12 Oct 2019 15:31:28 -0400 Date: Sat, 12 Oct 2019 19:31:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1570908682; bh=le+pkWFxNlbHgVvgcAqs2QD2dNwWD2l8OczALnMwIm0=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=nEzshsf4VgKFEtcADJjwt/xG09PU9T8EvQLEkEwmKhQSBMy2TdLLQSeJ85Wj+zt31 S0uLQqgjsx5b1XAGzh7UYlcQQCD1SWk/ANaK6rlj2ISFdmZaFehQAWn7/+lVvZjRpO FIjjubup1T/4erLaJ9KBknyR3K++3YXu7JfU9wLc= Message-ID: Feedback-ID: FpppPuIkCwkv58OuWulry35wsu631o7YjnbjrFFOEd3tz3N_Sc_1bX-SDewLEPbKiQZi_Juo9kiVjE5jBTvWLg==:Ext:ProtonMail MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 12 Oct 2019 15:47:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Foxmean via Guix-patches X-Patchwork-Original-From: Foxmean via Guix-patches via From: "ashish.is--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches Sorry for non-attach file email. Sent with ProtonMail Secure Email. From 0ff778ff5d7d17fef76b5abc14f274173fd263b8 Mon Sep 17 00:00:00 2001 From: Pathompong Kwangtong Date: Sun, 13 Oct 2019 01:24:48 +0700 Subject: [PATCH] Add Runit init system in guix installation --- doc/guix.texi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 6703c2756c..99068111bb 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -649,6 +649,31 @@ If your host distro uses the Upstart init system: # start guix-daemon @end example +If your host distro use th Runit init system: + +@example +# mkdir /etc/sv/guix-daemon +@end example + +Then create file /etc/sv/guix-daemon/run with your favorite text editor e.g. emacs. + +@example +# emacs /etc/sv/guix-daemon/run +@end example + +And add this two line of code in the file. + +@example +#!/bin/sh +exec /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild +@end example + +Now, you can enable and start guix-daemon service with: + +@example +> # ln -s /etc/sv/guix-daemon /var/service/ && sv up guix-daemon +@end example + Otherwise, you can still start the daemon manually with: @example -- 2.23.0