Merge pull request #675 from cokegen/master

Force default location pidfiles to be created at DB creation time, so…
This commit is contained in:
Jeremy Grossmann 2022-07-12 20:28:49 +02:00 committed by GitHub
commit c80f55d021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,8 @@ if [ ! -f "/etc/openvswitch/conf.db" ]
then
ovsdb-tool create /etc/openvswitch/conf.db /usr/share/openvswitch/vswitch.ovsschema
ovsdb-server --detach --remote=punix:/var/run/openvswitch/db.sock
ovs-vswitchd --detach
ovsdb-server --detach --pidfile --remote=punix:/var/run/openvswitch/db.sock
ovs-vswitchd --detach --pidfile
ovs-vsctl --no-wait init
x=0