blob: e6e825964027dff4722177424ff5f48f58d0f1d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/sbin/openrc-run
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
description="Open vSwitch OpenFlow controller"
command="/usr/bin/ovs-controller"
command_args="
--pidfile
--detach
--monitor
${OPTIONS} ${METHODS}"
pidfile="/var/run/openvswitch/ovs-controller.pid"
depend() {
need net
use logger
}
start_pre() {
checkpath -d "/var/run/openvswitch" -m 0750
}
|