diff options
author | Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com> | 2015-11-26 11:07:51 -0500 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-26 23:21:09 +0100 |
commit | ad227484c3e1dc85488be76a23128e77ad0b33ff (patch) | |
tree | 722162f419a9f83350d74824e01029fe1426f0fe /daemon.am | |
parent | 5432734b00ae14c3a93af358fc7bbf80e3db5ee8 (diff) | |
download | gnu-guix-ad227484c3e1dc85488be76a23128e77ad0b33ff.tar gnu-guix-ad227484c3e1dc85488be76a23128e77ad0b33ff.tar.gz |
Add 'guix-daemon.conf' job for Upstart.
* etc/guix-daemon.conf.in: New file.
* daemon.am (CLEANFILES): Add etc/guix-daemon.conf.
(upstartjobdir, nodist_upstartjob_DATA): New variables.
(EXTRA_DIST): Add etc/guix-daemon.conf.in.
* doc/guix.texi (Binary Installation, Build Environment Setup): Mention
'guix-daemon.conf'.
Signed-off-by: Mario Daniel Ruiz Saavedra <desiderantes@rocketmail.com>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'daemon.am')
-rw-r--r-- | daemon.am | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -21,7 +21,7 @@ # BUILT_SOURCES += nix/libstore/schema.sql.hh -CLEANFILES += $(BUILT_SOURCES) etc/guix-daemon.service +CLEANFILES += $(BUILT_SOURCES) etc/guix-daemon.service etc/guix-daemon.conf noinst_LIBRARIES = libformat.a libutil.a libstore.a @@ -191,11 +191,23 @@ etc/guix-daemon.service: etc/guix-daemon.service.in \ "$(srcdir)/etc/guix-daemon.service.in" > "$@.tmp" mv "$@.tmp" "$@" +# The '.conf' job for Upstart. +upstartjobdir = $(libdir)/upstart/system +nodist_upstartjob_DATA = etc/guix-daemon.conf + +etc/guix-daemon.conf: etc/guix-daemon.conf.in \ + $(top_builddir)/config.status + $(MKDIR_P) "`dirname "$@"`" + $(SED) -e 's|@''bindir''@|$(bindir)|' < \ + "$(srcdir)/etc/guix-daemon.conf.in" > "$@.tmp" + mv "$@.tmp" "$@" + EXTRA_DIST += \ nix/libstore/schema.sql \ nix/AUTHORS \ nix/COPYING \ - etc/guix-daemon.service.in + etc/guix-daemon.service.in \ + etc/guix-daemon.conf.in AM_TESTS_ENVIRONMENT += \ top_builddir="$(abs_top_builddir)" |