guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

44/64: Install an Upstart service


From: Ludovic Courtès
Subject: 44/64: Install an Upstart service
Date: Mon, 05 Jan 2015 16:39:06 +0000

civodul pushed a commit to branch nix
in repository guix.

commit 20668b136329da92be7c63e7f7c4918968ff0015
Author: Eelco Dolstra <address@hidden>
Date:   Fri May 2 13:14:10 2014 +0200

    Install an Upstart service
---
 .gitignore                      |    1 +
 Makefile                        |    1 +
 misc/upstart/local.mk           |    1 +
 misc/upstart/nix-daemon.conf.in |    5 +++++
 4 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 592a8c2..0a3c979 100644
--- a/.gitignore
+++ b/.gitignore
@@ -109,6 +109,7 @@ Makefile.config
 
 /misc/systemd/nix-daemon.service
 /misc/systemd/nix-daemon.socket
+/misc/upstart/nix-daemon.conf
 
 *.a
 *.o
diff --git a/Makefile b/Makefile
index 77f22db..d6c645f 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@ makefiles = \
   scripts/local.mk \
   corepkgs/local.mk \
   misc/systemd/local.mk \
+  misc/upstart/local.mk \
   misc/emacs/local.mk \
   doc/manual/local.mk \
   tests/local.mk
diff --git a/misc/upstart/local.mk b/misc/upstart/local.mk
new file mode 100644
index 0000000..249262d
--- /dev/null
+++ b/misc/upstart/local.mk
@@ -0,0 +1 @@
+$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), 
$(sysconfdir)/init, 0644)))
diff --git a/misc/upstart/nix-daemon.conf.in b/misc/upstart/nix-daemon.conf.in
new file mode 100644
index 0000000..0e806ed
--- /dev/null
+++ b/misc/upstart/nix-daemon.conf.in
@@ -0,0 +1,5 @@
+description "Nix Daemon"
+start on filesystem
+stop on shutdown
+respawn
+exec @bindir@/nix-daemon --daemon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]