Commit Graph

4 Commits

Author SHA1 Message Date
Leo Famulari 613d0895b9
build: Don't embed absolute paths in .service and .conf service files.
Otherwise, users will be stuck running an old copy of guix and the guix-daemon
if they copy the service files instead of symlinking them.

* etc/guix-daemon.conf.in, etc/guix-daemon.service.in, etc/guix-publish.conf.in,
etc/guix-publish.service.in: Expand @localstatedir@ instead of @bindir@.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Use @localstatedir@
instead of @bindir@.
2017-03-06 13:25:51 -05:00
Ricardo Wurmus 2517a7b3e2
Set "GUIX_LOCPATH" in 'guix-daemon.service'.
Suggested by Thomas Danckaert <thomas.danckaert@gmail.com>.

* etc/guix-daemon.service.in (Environment): New value.
2016-07-18 06:56:29 +02:00
Ludovic Courtès f489ce3c93
Add "TasksMax=1024" in 'guix-daemon.service'.
Suggested by Joram Schrijver <i+guix-devel@joram.io>.

* etc/guix-daemon.service.in (TasksMax): New value.
2016-04-25 23:27:09 +02:00
Ludovic Courtès d2825c9614 Add 'guix-daemon.service' file for systemd.
* etc/guix-daemon.service.in: New file, provided by Ricardo Wurmus.
* daemon.am (CLEANFILES): Add etc/guix-daemon.service.
  (systemdservicedir, nodist_systemdservice_DATA): New variables.
  (EXTRA_DIST): Add etc/guix-daemon.service.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
  'guix-daemon.service'.
2015-07-15 23:57:01 +02:00