1
0
Fork 0
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:
Eelco Dolstra 2014-05-02 13:14:10 +02:00
parent de4cdd0d47
commit 20668b1363
4 changed files with 8 additions and 0 deletions

1
misc/upstart/local.mk Normal file
View file

@ -0,0 +1 @@
$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))

View file

@ -0,0 +1,5 @@
description "Nix Daemon"
start on filesystem
stop on shutdown
respawn
exec @bindir@/nix-daemon --daemon