GNU bug report logs -
#37624
Add how to create a runit service in step 5 of binary installation manual
Previous Next
To reply to this bug, email your comments to 37624 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Fri, 04 Oct 2019 15:48:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Foxmean <foxmean <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 04 Oct 2019 15:48:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Sat, 05 Oct 2019 07:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 37624 <at> debbugs.gnu.org (full text, mbox):
Foxmean writes:
Hello Foxmean,
> 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.
That's great!
> If your host distro uses the Runit system:
>
> <code>
> # mkdir /etc/sv/guix-daemon
> </code>
Okay. As you will see, <code> is coded as @example ... @end example.
> 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>
I would suggest you change this bit to resemble the other init systems:
this file to the repository for people to simply cp. You will have to
replace `/var' directory with the configurable `@localstatedir@'.
> 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?
You will need to create a patch to doc/guix.texi. You first need to
clone the guix git archive.
Have a look at the `Contributing' section in the manual, especially
https://guix.gnu.org/manual/en/html_node/Building-from-Git.html.
Edit doc/guix.texi, check the result by building the manual:
make info
<visit doc/guix.info>
For the rest, follow the pattern used for the file
etc/guix-daemon.service.in
do not forget to add your file to
etc/local.mk
Commit your changes to git and reply to this bug with your patch. Feel
free to ask if you have any questions.
Greetings,
janneke
--
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Sat, 12 Oct 2019 19:48:03 GMT)
Full text and
rfc822 format available.
Message #11 received at 37624 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I hope this can help you, even so a little.
ProtonMailモバイルから送信
---元のメッセージ---
> ProtonMailモバイルから送信
[Message part 2 (text/html, inline)]
[0001-Add-Runit-init-system-in-guix-installation.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Sat, 12 Oct 2019 19:48:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 37624 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sorry for non-attach file email.
Sent with ProtonMail Secure Email.
[Message part 2 (text/html, inline)]
[0001-Add-Runit-init-system-in-guix-installation.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Mon, 13 Apr 2020 22:23:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 37624 <at> debbugs.gnu.org (full text, mbox):
Hello,
as I recently worked on the same subject in [1],
I reviewed and amended the documentation patch [2].
[1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40601
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37624
--
Vincent Legoll
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Mon, 13 Apr 2020 22:30:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 37624 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 14/04/2020 00:22, Vincent Legoll wrote:
> Hello,
>
>
> as I recently worked on the same subject in [1],
>
> I reviewed and amended the documentation patch [2].
>
>
> [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40601
>
> [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37624
>
And now with the patch...
[0001-doc-Add-Runit-init-system-in-guix-installation.patch (text/x-patch, attachment)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Fri, 18 Dec 2020 13:36:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 37624 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Vincent Legoll <vincent.legoll <at> gmail.com> writes:
> On 14/04/2020 00:22, Vincent Legoll wrote:
>> Hello,
>>
>>
>> as I recently worked on the same subject in [1],
>>
>> I reviewed and amended the documentation patch [2].
>>
>>
>> [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40601
>>
>> [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37624
>>
>
> And now with the patch...
I've had a look at the patch, it seems OK. Did you consider adding the
config file to Guix itself, so that a user can copy it, just like the
systemd and upstart examples?
That might be more consistent, and avoid the docs getting longer.
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#37624
; Package
guix-patches
.
(Fri, 18 Dec 2020 19:39:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 37624 <at> debbugs.gnu.org (full text, mbox):
Hello again,
> I've had a look at the patch, it seems OK. Did you consider adding the
> config file to Guix itself, so that a user can copy it, just like the
> systemd and upstart examples?
Yes, I think I have that done also, I'll dig it out. I even think I saw the
doc issue bug after having done the config file thing.
> That might be more consistent, and avoid the docs getting longer.
Stay tuned
--
Vincent Legoll
This bug report was last modified 4 years and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.