summaryrefslogtreecommitdiff
path: root/etc/guix-publish.conf.in
diff options
context:
space:
mode:
Diffstat (limited to 'etc/guix-publish.conf.in')
-rw-r--r--etc/guix-publish.conf.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/guix-publish.conf.in b/etc/guix-publish.conf.in
new file mode 100644
index 0000000000..498fa295be
--- /dev/null
+++ b/etc/guix-publish.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 "Publish the GNU Guix store"
+
+start on runlevel [2345]
+
+stop on runlevel [016]
+
+task
+
+exec @bindir@/guix publish --user=nobody --port=8181