mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Install an Upstart service
This commit is contained in:
parent
de4cdd0d47
commit
20668b1363
4 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -109,6 +109,7 @@ Makefile.config
|
|||
|
||||
/misc/systemd/nix-daemon.service
|
||||
/misc/systemd/nix-daemon.socket
|
||||
/misc/upstart/nix-daemon.conf
|
||||
|
||||
*.a
|
||||
*.o
|
||||
|
|
1
Makefile
1
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
|
||||
|
|
1
misc/upstart/local.mk
Normal file
1
misc/upstart/local.mk
Normal file
|
@ -0,0 +1 @@
|
|||
$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
|
5
misc/upstart/nix-daemon.conf.in
Normal file
5
misc/upstart/nix-daemon.conf.in
Normal file
|
@ -0,0 +1,5 @@
|
|||
description "Nix Daemon"
|
||||
start on filesystem
|
||||
stop on shutdown
|
||||
respawn
|
||||
exec @bindir@/nix-daemon --daemon
|
Loading…
Reference in a new issue