mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-12 08:08:56 +02:00
21 lines
428 B
Text
21 lines
428 B
Text
#!/sbin/openrc-run
|
|
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
description="Open vSwitch virtual switch"
|
|
|
|
command="/usr/sbin/ovs-vswitchd"
|
|
command_args="
|
|
--pidfile
|
|
--detach
|
|
--monitor
|
|
${OPTIONS} ${DATABASE}"
|
|
pidfile="/run/openvswitch/ovs-vswitchd.pid"
|
|
|
|
depend() {
|
|
use ovsdb-server logger
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -d "/run/openvswitch" -m 0750
|
|
}
|