mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11: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
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…
Add table
Add a link
Reference in a new issue