From ad227484c3e1dc85488be76a23128e77ad0b33ff Mon Sep 17 00:00:00 2001 From: Mario Daniel Ruiz Saavedra Date: Thu, 26 Nov 2015 11:07:51 -0500 Subject: Add 'guix-daemon.conf' job for Upstart. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 Signed-off-by: Ludovic Courtès --- etc/guix-daemon.conf.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 etc/guix-daemon.conf.in (limited to 'etc') diff --git a/etc/guix-daemon.conf.in b/etc/guix-daemon.conf.in new file mode 100644 index 0000000000..8f833cb693 --- /dev/null +++ b/etc/guix-daemon.conf.in @@ -0,0 +1,12 @@ +# This is a "job" for the Upstart init system to launch 'guix-daemon'. +# Drop it in /etc/init to have 'guix-daemon' automatically started. + +description "Build daemon for GNU Guix" + +start on runlevel [2345] + +stop on runlevel [016] + +task + +exec @bindir@/guix-daemon --build-users-group=guixbuild -- cgit v1.2.3