]> git.proxmox.com Git - mirror_ovs.git/blobdiff - rhel/etc_sysconfig_network-scripts_ifup-ovs
rhel/ovsdb-server.service: Rename the nonetwork service
[mirror_ovs.git] / rhel / etc_sysconfig_network-scripts_ifup-ovs
index 6850c9f0859c6204654edb552143915202dbae33..2d6ba729bc66bc07442a8f189f08188286506bde 100755 (executable)
@@ -60,10 +60,10 @@ fi
        fi
 done
 
-SERVICE_UNIT=/usr/lib/systemd/system/openvswitch-nonetwork.service
+SERVICE_UNIT=/usr/lib/systemd/system/ovsdb-server.service
 if [ -f $SERVICE_UNIT ] && [ -x /usr/bin/systemctl ]; then
-       if ! systemctl --quiet is-active openvswitch-nonetwork.service; then
-               systemctl start openvswitch-nonetwork.service
+       if ! systemctl --quiet is-active ovsdb-server.service; then
+               systemctl start ovsdb-server.service
        fi
 else
        if [ ! -f /var/lock/subsys/openvswitch ]; then