Add upstart config file

Tested it on 14.04 on a two node deployment.

Change-Id: I6a0c0c03833dc9a52fccbb349f14b4352be6d45e
Signed-off-by: Antoni Segura Puimedon <toni@midokura.com>
This commit is contained in:
Antoni Segura Puimedon 2016-02-15 20:54:38 +01:00
parent 811de8e9ab
commit ba61527818
1 changed files with 14 additions and 0 deletions

14
init/kuryr.conf Normal file
View File

@ -0,0 +1,14 @@
description "Kuryr libnetwork driver"
author "Antoni Segura Puimedon <toni@kuryr.org>"
start on (net-device-up
and local-filesystems
and runlevel [2345])
stop on runlevel [016]
respawn
respawn limit 10 5
script
exec start-stop-daemon --start --exec /usr/bin/kuryr-server -- --config-file /etc/kuryr/kuryr.conf
end script