This unit is provided by:
Options
-
[Install]
-
WantedBy=multi-user.target
-
-
[Service]
-
Environment=HOME=/var/run/openvswitch
-
Environment=XDG_RUNTIME_DIR=/run/openvswitch
-
EnvironmentFile=-/etc/default/openvswitch-switch
-
EnvironmentFile=/etc/openvswitch/default.conf -/etc/sysconfig/openvswitch -/run/openvswitch.useropts
-
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random ${OVS_USER_OPT} restart $OPTIONS
-
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random --no-record-hostname restart $OVS_CTL_OPTS
-
ExecStart=/usr/sbin/ovs-vswitchd --pidfile=/run/openvswitch/ovs-vswitchd.pid
-
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random ${OVS_USER_OPT} start $OPTIONS
-
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random --no-record-hostname start $OVS_CTL_OPTS
-
ExecStartPre=-/bin/sh -c '/usr/bin/chown :$${OVS_USER_ID##*:} /dev/hugepages' -/usr/bin/chmod 0775 /dev/hugepages
-
ExecStartPre=/sbin/modprobe openvswitch
-
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
-
LimitNOFILE=1048576
-
LimitSTACK=2M
-
OOMScoreAdjust=-900
-
PIDFile=/run/openvswitch/ovs-vswitchd.pid
-
Restart=on-failure
-
TimeoutSec=300
-
Type=forking
-
-
[Unit]
-
After=ovsdb-server.service
-
After=ovsdb-server.service network-pre.target systemd-udev-settle.service
-
AssertPathIsReadWrite=/run/openvswitch/db.sock
-
AssertPathIsReadWrite=/var/run/openvswitch/db.sock
-
Before=network.target NetworkManager.service
-
Before=network.target network.service
-
Before=network.target networking.service
-
DefaultDependencies=no
-
Description=Open vSwitch Daemon
-
Description=Open vSwitch Forwarding Unit
-
Documentation=man:ovs-vswitchd
-
PartOf=openvswitch-switch.service
-
PartOf=openvswitch.service
-
ReloadPropagatedFrom=ovsdb-server.service
-
Requires=ovsdb-server.service
-
Wants=network.target
-
Additionnal notes
Nothing here.