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
12 PIDFile=/var/run/openvswitch/ovs-vswitchd.pid
14 Environment=XDG_RUNTIME_DIR=/var/run/openvswitch
15 EnvironmentFile=/etc/openvswitch/default.conf
16 EnvironmentFile=-/etc/sysconfig/openvswitch
17 EnvironmentFile=-/run/openvswitch.useropts
20 ExecStartPre=-/bin/sh -c '/usr/bin/chown :$${OVS_USER_ID##*:} /dev/hugepages'
21 ExecStartPre=-/usr/bin/chmod 0775 /dev/hugepages
23 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
24 --no-ovsdb-server --no-monitor --system-id=random \
27 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
28 ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
29 --no-monitor --system-id=random \