From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] doc: Symlink daemon start-up files.
Date: Fri, 18 Nov 2016 12:00:33 +0100 [thread overview]
Message-ID: <1479466834-3508-2-git-send-email-h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <1479466834-3508-1-git-send-email-h.goebel@crazy-compilers.com>
This patch ensures that always the current profile's daemon will be used.
The .service file contains the path to the guix-daemon within the store. Thus
when copying the file, it will point to the very version of guix-daemon used
at the time of copying – even after system upgrade or when this version has
been garbage collected from the store.
* doc/guix.texi (Binary Installation): Change example code for installing
the systemd and Upstart files to use symbolic links instead of copying
the files.
---
doc/guix.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index a3eba58..92d7ee8 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -453,7 +453,7 @@ If your host distro uses the systemd init system, this can be achieved
with these commands:
@example
-# cp ~root/.guix-profile/lib/systemd/system/guix-daemon.service \
+# ln -s ~root/.guix-profile/lib/systemd/system/guix-daemon.service \
/etc/systemd/system/
# systemctl start guix-daemon && systemctl enable guix-daemon
@end example
@@ -461,7 +461,7 @@ with these commands:
If your host distro uses the Upstart init system:
@example
-# cp ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/
+# ln -s ~root/.guix-profile/lib/upstart/system/guix-daemon.conf /etc/init/
# start guix-daemon
@end example
--
2.7.4
next prev parent reply other threads:[~2016-11-18 11:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-18 11:00 [PATCH 0/2] Hartmut Goebel
2016-11-18 11:00 ` Hartmut Goebel [this message]
2016-11-18 20:31 ` [PATCH 1/2] doc: Symlink daemon start-up files Leo Famulari
2016-11-21 16:38 ` Hartmut Goebel
2017-01-15 18:23 ` Leo Famulari
2017-01-15 19:23 ` Marius Bakke
2017-01-16 9:49 ` Ludovic Courtès
2017-03-05 20:55 ` Leo Famulari
2017-03-06 9:10 ` Hartmut Goebel
2017-03-06 10:23 ` Ludovic Courtès
2017-01-16 10:02 ` Hartmut Goebel
2016-11-18 11:00 ` [PATCH 2/2] Add system start-up files for "guix publish" Hartmut Goebel
2016-11-18 20:35 ` Leo Famulari
2016-11-21 8:52 ` Ludovic Courtès
2016-11-21 17:17 ` Hartmut Goebel
2016-11-18 20:36 ` [PATCH 0/2] Leo Famulari
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479466834-3508-2-git-send-email-h.goebel@crazy-compilers.com \
--to=h.goebel@crazy-compilers.com \
--cc=guix-devel@gnu.org \
/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 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).