mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
* Update upstream OVS debian packaging to be on par with package source in Debian/Ubuntu: - Provide a openvswitch-switch-dpdk package that integrates with the dpdk package in the distributions so that end users can opt into a DPDK-enabled Open vSwitch binary. - Provide systemd service files. - Provide openvswitch-source package for reproducible integrated build of for example OVN. - Stop building shared library and subsequently remove libopenvswitch and libopenvswitch-dev binary packages. Co-authored-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Luca Boccassi <bluca@debian.org> Co-authored-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Co-authored-by: James Page <james.page@ubuntu.com> Signed-off-by: James Page <james.page@ubuntu.com> Co-authored-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Corey Bryant <corey.bryant@canonical.com> Signed-off-by: Frode Nordahl <frode.nordahl@canonical.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
27 lines
934 B
Desktop File
27 lines
934 B
Desktop File
[Unit]
|
|
Description=Open vSwitch Forwarding Unit
|
|
After=ovsdb-server.service network-pre.target systemd-udev-settle.service
|
|
Before=network.target networking.service
|
|
Requires=ovsdb-server.service
|
|
ReloadPropagatedFrom=ovsdb-server.service
|
|
AssertPathIsReadWrite=/var/run/openvswitch/db.sock
|
|
PartOf=openvswitch-switch.service
|
|
DefaultDependencies=no
|
|
|
|
[Service]
|
|
LimitNOFILE=1048576
|
|
Type=forking
|
|
Restart=on-failure
|
|
Environment=HOME=/var/run/openvswitch
|
|
EnvironmentFile=-/etc/default/openvswitch-switch
|
|
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl \
|
|
--no-ovsdb-server --no-monitor --system-id=random \
|
|
--no-record-hostname \
|
|
start $OVS_CTL_OPTS
|
|
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop
|
|
ExecReload=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server \
|
|
--no-monitor --system-id=random \
|
|
--no-record-hostname \
|
|
restart $OVS_CTL_OPTS
|
|
TimeoutSec=300
|