guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch v2 2/2] Add system start-up files for "guix publish".


From: Ludovic Courtès
Subject: Re: [Patch v2 2/2] Add system start-up files for "guix publish".
Date: Wed, 23 Nov 2016 22:25:47 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hartmut Goebel <address@hidden> skribis:

> * .gitignore: add etc/guix-publish.conf and /etc/guix-publish.service.
> * etc/guix-publish.conf.in: New file.
> * etc/guix-publish.service.in: New file.
> * nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Generalized former
>   build-rules for by using patterns.
>   (nodist_systemdservice_DATA): Add etc/guix-publish.service, update
>   comment.
>   (nodist_upstartjob_DATA): Add etc/guix-publish.conf, update comment.
> * doc/guix.texi (Invoking guix publish): Add description for enabling
>   "guix publish" on host distros using the new files.

[...]

> --- a/doc/guix.texi
> +++ b/doc/guix.texi
> @@ -6055,6 +6055,27 @@ add a call to @code{guix-publish-service} in the 
> @code{services} field
>  of the @code{operating-system} declaration (@pxref{guix-publish-service,
>  @code{guix-publish-service}}).
>  
> +If you are running Guix on top of host distro, this can be achieved with
> +the following commands.

What about: “If you are instead running Guix on a ``foreign distro'',
follow these instructions:”

> address@hidden
> address@hidden
> +If your host distro uses the systemd init system:
> +
> address@hidden
> +# ln -s ~root/.guix-profile/lib/systemd/system/guix-publish.service \
> +        /etc/systemd/system/
> +# systemctl start guix-publish && systemctl enable guix-publish
> address@hidden example
> +
> address@hidden
> +If your host distro uses the Upstart init system:
> +
> address@hidden
> +# ln -s ~root/.guix-profile/lib/upstart/system/guix-publish.conf /etc/init/
> +# start guix-publish
> address@hidden example

Maybe add something like:

  @item
  Otherwise, proceed similarly with your distro's init system.

OK with these changes, thank you!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]