unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37624] Add how to create a runit service in step 5 of binary installation manual
@ 2019-10-04 15:38 Foxmean via Guix-patches via
  2019-10-05  7:47 ` Jan Nieuwenhuizen
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Foxmean via Guix-patches via @ 2019-10-04 15:38 UTC (permalink / raw)
  To: 37624

[-- Attachment #1: Type: text/plain, Size: 865 bytes --]

I would like to add a patch in https://guix.gnu.org/manual/en/html_node/Binary-Installation.html#Binary-Installation
-> step 5 Run the daemon, and set it to automatically start on boot.

If your host distro uses the Runit system:

<code>
# mkdir /etc/sv/guix-daemon
</code>

Then create file /etc/sv/guix-daemon/run with your favorite text editor e.g. emacs.

<code>
# emacs /etc/sv/guix-daemon/run
</code>

And add this two line of code in the file.

<code>
#!/bin/sh
exec /var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild
</code>

Now, you can enable and start guix-daemon service with:

<code>
# ln -s /etc/sv/guix-daemon /var/service/ && sv up guix-daemon
</code>

I would like to add it in etc and the manual at doc/guix.texi updated.
How can I contribute?

Sent with [ProtonMail](https://protonmail.com) Secure Email.

[-- Attachment #2: Type: text/html, Size: 1740 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-12-18 19:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 15:38 [bug#37624] Add how to create a runit service in step 5 of binary installation manual Foxmean via Guix-patches via
2019-10-05  7:47 ` Jan Nieuwenhuizen
2019-10-12 19:30 ` [bug#37624] Try to add Runit daemon setup in manual (install guix in existing GNU/Linux) Foxmean via Guix-patches via
2019-10-12 19:31 ` [bug#37624] Try to add Runit daemon setup in documentation " Foxmean via Guix-patches via
2020-04-13 22:22 ` [bug#37624] [PATCH v2] Re: Add how to create a runit service in step 5 of binary installation manual Vincent Legoll
2020-04-13 22:29   ` Vincent Legoll
2020-12-18 13:35     ` Christopher Baines
2020-12-18 19:37       ` Vincent Legoll

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).