2022-07-14 17:55:40 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Open vSwitch Database Unit
|
|
|
|
After=systemd-journald.socket network-pre.target dpdk.service local-fs.target
|
|
|
|
Before=network.target networking.service
|
|
|
|
PartOf=openvswitch-switch.service
|
|
|
|
DefaultDependencies=no
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
LimitNOFILE=1048576
|
|
|
|
Type=forking
|
2025-01-06 13:09:15 +02:00
|
|
|
PIDFile=/run/openvswitch/ovsdb-server.pid
|
2022-07-14 17:55:40 +02:00
|
|
|
Restart=on-failure
|
|
|
|
EnvironmentFile=-/etc/default/openvswitch-switch
|
|
|
|
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
|
|
|
|
--no-ovs-vswitchd --no-monitor --system-id=random \
|
|
|
|
--no-record-hostname \
|
|
|
|
start $OVS_CTL_OPTS
|
|
|
|
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd stop
|
|
|
|
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovs-vswitchd \
|
|
|
|
--no-record-hostname \
|
|
|
|
--no-monitor restart $OVS_CTL_OPTS
|