summaryrefslogtreecommitdiffhomepage
path: root/debian/ryu-bin.ryu.upstart
diff options
context:
space:
mode:
authorYoshihiro Kaneko <ykaneko0929@gmail.com>2014-06-16 18:40:42 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-06-17 06:50:42 +0900
commit712d599f541f3e7bbc14833e2b6f55de964eebdb (patch)
treeaae29235f2674ca0b839b37f1dee00dc98de4969 /debian/ryu-bin.ryu.upstart
parent4f19fc54cd671d594a685abf7ab44e8c09d4956d (diff)
add debian files to make packages for Ubuntu
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'debian/ryu-bin.ryu.upstart')
-rw-r--r--debian/ryu-bin.ryu.upstart9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/ryu-bin.ryu.upstart b/debian/ryu-bin.ryu.upstart
new file mode 100644
index 00000000..327f7076
--- /dev/null
+++ b/debian/ryu-bin.ryu.upstart
@@ -0,0 +1,9 @@
+description "Ryu server"
+
+start on (starting neutron-server or runlevel [2345])
+stop on runlevel [!2345]
+
+respawn
+
+exec start-stop-daemon --start --exec /usr/bin/ryu -- \
+ run --config-file /etc/ryu/ryu.conf