all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel@gnu.org
Subject: Re: [Patch v2 2/2] Add system start-up files for "guix publish".
Date: Wed, 23 Nov 2016 22:25:47 +0100	[thread overview]
Message-ID: <87fumh6g84.fsf@gnu.org> (raw)
In-Reply-To: <1479749611-829-3-git-send-email-h.goebel@crazy-compilers.com> (Hartmut Goebel's message of "Mon, 21 Nov 2016 18:33:31 +0100")

Hartmut Goebel <h.goebel@crazy-compilers.com> 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:”

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

Maybe add something like:

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

OK with these changes, thank you!

Ludo’.

  reply	other threads:[~2016-11-23 21:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-21 17:33 [Patch v2 0/2] Symlink daemon start-up files and guix publish Hartmut Goebel
2016-11-21 17:33 ` [Patch v2 1/2] doc: Symlink daemon start-up files Hartmut Goebel
2016-11-23 21:22   ` Ludovic Courtès
2016-11-21 17:33 ` [Patch v2 2/2] Add system start-up files for "guix publish" Hartmut Goebel
2016-11-23 21:25   ` Ludovic Courtès [this message]
2016-11-24  8:25     ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fumh6g84.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.