2 Description=Open vSwitch Forwarding Unit
3 After=ovsdb-server.service network-pre.target systemd-udev-settle.service
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
13 Environment=HOME=/var/run/openvswitch
14 EnvironmentFile=/etc/openvswitch/default.conf
15 EnvironmentFile=-/etc/sysconfig/openvswitch
16 EnvironmentFile=-/run/openvswitch/useropts
18 ExecStartPre=-/bin/sh -c '/usr/bin/chown :$${OVS_USER_ID##*:} /dev/hugepages'
19 ExecStartPre=-/usr/bin/chmod 0775 /dev/hugepages
21 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
22 --no-ovsdb-server --no-monitor --system-id=random \
25 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
26 ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
27 --no-monitor --system-id=random \