summaryrefslogtreecommitdiff
path: root/etc/guix-daemon.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/guix-daemon.conf.in')
-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