guix-commits
[Top][All Lists]
Advanced

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

01/02: doc: Symlink daemon start-up files.


From: Hartmut Goebel
Subject: 01/02: doc: Symlink daemon start-up files.
Date: Thu, 24 Nov 2016 08:24:37 +0000 (UTC)

htgoebel pushed a commit to branch master
in repository guix.

commit b7230de54b493da5a78922b4226255763b525a98
Author: Hartmut Goebel <address@hidden>
Date:   Fri Nov 18 00:49:09 2016 +0100

    doc: Symlink daemon start-up files.
    
    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 7381c2c..347361c 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
 



reply via email to

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