add upstart

This commit is contained in:
Sean Channel 2013-04-10 08:42:26 -07:00
parent 9d587af806
commit e074f61985
2 changed files with 12 additions and 0 deletions

2
debian/rules vendored
View file

@ -1,8 +1,10 @@
#!/usr/bin/make -f
COPYRIGHT=LICENSE
PKGFILES = pkg/*.service pkg/*.upstart
%:
cp $(PKGFILES) debian
cp $(COPYRIGHT) debian/copyright
dh $@

10
pkg/salt-api.upstart Normal file
View file

@ -0,0 +1,10 @@
description "Salt API"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [!2345]
script
exec salt-api
end script