blob: 13ee14fda2b489f85cf00ccb6d84bde9c91a68db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/sbin/openrc-run
command="/usr/share/ovn/scripts/ovn-ctl"
command_args="run_sb_ovsdb $OVN_CTL_OPTS"
command_background="yes"
pidfile="/run/ovn/$RC_SVCNAME.pid"
description="Open vSwitch database server for OVN Southbound database"
depend() {
need net
after firewall
}
start_pre() {
checkpath --directory "${pidfile%/*}"
}
stop() {
$command stop_sb_ovsdb
}
|