[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
- 37/64: Bump date, (continued)
- 37/64: Bump date, Ludovic Courtès, 2015/01/05
- 39/64: nix-env: Minor change to '--delete-generations Nd' semantics, Ludovic Courtès, 2015/01/05
- 33/64: If a .drv cannot be parsed, show its path, Ludovic Courtès, 2015/01/05
- 40/64: trunk -> master, Ludovic Courtès, 2015/01/05
- 17/64: Pass position information to primop calls, Ludovic Courtès, 2015/01/05
- 32/64: Simplify quick start section, Ludovic Courtès, 2015/01/05
- 43/64: Set build-max-jobs to the number of available cores by default, Ludovic Courtès, 2015/01/05
- 41/64: doc fix: swap 'import' and 'export', Ludovic Courtès, 2015/01/05
- 28/64: Ensure that systemd units to into lib, not lib64, Ludovic Courtès, 2015/01/05
- 36/64: Bump version to 1.8, Ludovic Courtès, 2015/01/05
- 44/64: Install an Upstart service,
Ludovic Courtès <=
- 45/64: Set up directories and permissions for multi-user install automatically, Ludovic Courtès, 2015/01/05
- 46/64: Simplify multi-user installation instructions, Ludovic Courtès, 2015/01/05
- 49/64: Add ubuntu 14.04, Ludovic Courtès, 2015/01/05
- 48/64: Don't install Upstart job on Fedora, Ludovic Courtès, 2015/01/05
- 51/64: Really fix the RPM builds, Ludovic Courtès, 2015/01/05
- 50/64: Fix RPM build, Ludovic Courtès, 2015/01/05
- 53/64: fix typo, Ludovic Courtès, 2015/01/05
- 52/64: Shortcut already-hardlinked files, Ludovic Courtès, 2015/01/05
- 54/64: nix-instantiate --eval: Apply auto-arguments if the result is a function, Ludovic Courtès, 2015/01/05
- 47/64: Fix Debian tests, Ludovic Courtès, 2015/01/05