1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#! /bin/sh
### BEGIN INIT INFO
# Provides: ryu
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: ryu init file
# Description: An init file for ryu SDN controller
### END INIT INFO
# Author: Dariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>
# Author: Thomas Goirand <zigo@debian.org>
DESC="Ryu controller"
PROJECT_NAME=ryu
NAME=ryu
DAEMON=/usr/bin/$NAME
NO_OPENSTACK_LOGFILE_DAEMON_ARG=yes
DAEMON_ARGS="run "
SCRIPTNAME=/etc/init.d/$NAME
|