]> git.proxmox.com Git - ovs.git/blob - debian/openvswitch-switch.ovs-vswitchd.service
Fix ovs-dpctl-top by removing 3 wrong hunks in py3-compat.patch.
[ovs.git] / debian / openvswitch-switch.ovs-vswitchd.service
1 [Unit]
2 Description=Open vSwitch Forwarding Unit
3 After=ovsdb-server.service network-pre.target systemd-udev-settle.service
4 Before=network.target networking.service
5 Requires=ovsdb-server.service
6 ReloadPropagatedFrom=ovsdb-server.service
7 AssertPathIsReadWrite=/var/run/openvswitch/db.sock
8 PartOf=openvswitch-switch.service
9 DefaultDependencies=no
10
11 [Service]
12 LimitNOFILE=1048576
13 Type=forking
14 Restart=on-failure
15 Environment=HOME=/var/run/openvswitch
16 EnvironmentFile=-/etc/default/openvswitch-switch
17 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
18 --no-ovsdb-server --no-monitor --system-id=random \
19 start $OVS_CTL_OPTS
20 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
21 ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
22 --no-monitor --system-id=random \
23 restart $OVS_CTL_OPTS
24 TimeoutSec=300