This unit is provided by:
Options
-
[Service]
-
EnvironmentFile=-/etc/default/openvswitch-switch
-
EnvironmentFile=/etc/openvswitch/default.conf -/etc/sysconfig/openvswitch -/run/openvswitch.useropts
-
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd ${OVS_USER_OPT} --no-monitor restart $OPTIONS
-
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd --no-record-hostname --no-monitor restart $OVS_CTL_OPTS
-
ExecStart=/usr/sbin/ovsdb-server --remote=punix:/var/run/openvswitch/db.sock --pidfile=/run/openvswitch/ovsdb-server.pid
-
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd --no-monitor --system-id=random ${OVS_USER_OPT} start $OPTIONS
-
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd --no-monitor --system-id=random --no-record-hostname start $OVS_CTL_OPTS
-
ExecStartPre=/usr/bin/rm -f /run/openvswitch.useropts -/usr/bin/chown ${OVS_USER_ID} /run/openvswitch /var/log/openvswitch /bin/sh -c '/usr/bin/echo "OVS_USER_ID=${OVS_USER_ID}" > /run/openvswitch.useropts' /bin/sh -c 'if [ "$${OVS_USER_ID/:*/}" != "root" ]; then /usr/bin/echo "OVS_USER_OPT=--ovs-user=${OVS_USER_ID}" >> /run/openvswitch.useropts; fi'
-
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
-
LimitNOFILE=1048576
-
OOMScoreAdjust=-900
-
PIDFile=/run/openvswitch/ovsdb-server.pid
-
Restart=on-failure
-
RuntimeDirectory=openvswitch
-
RuntimeDirectoryMode=0755
-
RuntimeDirectoryPreserve=yes
-
Type=forking
-
-
[Unit]
-
After=syslog.target network-pre.target
-
After=systemd-journald.socket network-pre.target dpdk.service local-fs.target
-
Before=network.target network.service
-
Before=network.target networking.service
-
DefaultDependencies=no
-
Description=Open vSwitch Database Server
-
Description=Open vSwitch Database Unit
-
Documentation=man:ovsdb-server
-
PartOf=openvswitch-switch.service
-
PartOf=openvswitch.service
-
Wants=ovs-delete-transient-ports.service
-
Additionnal notes
Nothing here.