]> git.proxmox.com Git - mirror_ovs.git/blob - rhel/usr_lib_systemd_system_ovs-vswitchd.service
fedora: do not restart the service on a pkg upgrade
[mirror_ovs.git] / rhel / usr_lib_systemd_system_ovs-vswitchd.service
1 [Unit]
2 Description=Open vSwitch Forwarding Unit
3 After=ovsdb-server.service network-pre.target
4 Before=network.target network.service
5 Requires=ovsdb-server.service
6 ReloadPropagatedFrom=ovsdb-server.service
7 AssertPathIsReadWrite=/var/run/openvswitch/db.sock
8 PartOf=openvswitch.service
9
10 [Service]
11 Type=forking
12 EnvironmentFile=-/etc/sysconfig/openvswitch
13 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
14 --no-ovsdb-server --no-monitor --system-id=random \
15 start $OPTIONS
16 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
17 ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
18 --no-monitor --system-id=random \
19 restart $OPTIONS