openvswitch/openvswitch.service
Dirk Mueller e4bba6808f Accepting request 396148 from home:markoschandras:network
- Multiple spec file and package fixes.
  * Drop obsolete log-check-module-loop.patch patch.
  * Drop conditional code for older openSUSE releases. This also removes
    all of the sysvinit files which were pulled in when the package was
    originally developed.
  * Drop support for building the GUI. The GUI code has been removed in
    7868fbc6c97c2 ("ovsdbmonitor: Remove.") upstream commit and it does
    not exist since v2.2.0 so drop the code in the spec file.
  * Use the upstream systemd service files for the OVN components instead
    of maintaining our own downstream.
  * Drop the unofficial ipsec support. It hasn't been enabled in years.
  * Drop support for building the upstream kernel module since it's being
    shipped with the kernel package in latest releases. Restore the
    %bcond_with kmp to make it easier to build the external kernel module
    if needed.
  * Fix some suse-missing-rclink rpmlint warnings for the ovn subpackage
  * Base our service unit to the upstream one.
  * Stop silently enabling the GRE protocol in iptables by default.
  * Install the upstream sysconfig file to pass more information to the
    openvswitch service unit.
  * Use make install instead of %makeinstall
  * Drop brcompat leftovers.
  * spec-cleaner fixes

OBS-URL: https://build.opensuse.org/request/show/396148
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=86
2016-05-19 10:13:17 +00:00

16 lines
348 B
Desktop File

[Unit]
Description=Open vSwitch
After=network-pre.target
Before=network.service
[Service]
Type=oneshot
EnvironmentFile=-/etc/sysconfig/openvswitch
ExecStart=/usr/share/openvswitch/scripts/ovs-ctl start \
--system-id=random $OPTIONS
ExecStop=/usr/share/openvswitch/scripts/ovs-ctl stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target