aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMario Daniel Ruiz Saavedra <desiderantes@rocketmail.com>2015-11-26 11:07:51 -0500
committerLudovic Courtès <ludo@gnu.org>2015-11-26 23:21:09 +0100
commitad227484c3e1dc85488be76a23128e77ad0b33ff (patch)
tree722162f419a9f83350d74824e01029fe1426f0fe /etc
parent5432734b00ae14c3a93af358fc7bbf80e3db5ee8 (diff)
downloadguix-ad227484c3e1dc85488be76a23128e77ad0b33ff.tar.gz
guix-ad227484c3e1dc85488be76a23128e77ad0b33ff.zip
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 'etc')
-rw-r--r--etc/guix-daemon.conf.in12
1 files changed, 12 insertions, 0 deletions
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