me
/
guix
Archived
1
0
Fork 0

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.
master
Hartmut Goebel 2016-11-18 00:49:09 +01:00
parent c50f2af9f8
commit b7230de54b
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 2 additions and 2 deletions

View File

@ -453,7 +453,7 @@ If your host distro uses the systemd init system, this can be achieved
with these commands: with these commands:
@example @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/ /etc/systemd/system/
# systemctl start guix-daemon && systemctl enable guix-daemon # systemctl start guix-daemon && systemctl enable guix-daemon
@end example @end example
@ -461,7 +461,7 @@ with these commands:
If your host distro uses the Upstart init system: If your host distro uses the Upstart init system:
@example @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 # start guix-daemon
@end example @end example