File: ovs-ctl-ipsec.patch

package info (click to toggle)
openvswitch 3.1.0-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 74,132 kB
  • sloc: sh: 1,075,572; ansic: 303,476; python: 22,274; xml: 21,185; makefile: 553; javascript: 191
file content (21 lines) | stat: -rw-r--r-- 832 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Don't monitor ipsec daemon
 For Ubuntu systemd will monitor the ovs-monitor-ipsec daemon so
 there is no need to spawn a separate monitor thread to deal with
 restarts.  Doing so has the side effect of confusing systemd into
 monitoring the wrong process.
Author: James Page <james.page@ubuntu.com>
Forwarded: not-needed

Index: openvswitch/utilities/ovs-ctl.in
===================================================================
--- openvswitch.orig/utilities/ovs-ctl.in
+++ openvswitch/utilities/ovs-ctl.in
@@ -250,7 +250,7 @@ start_ovs_ipsec () {
         --pidfile=${rundir}/ovs-monitor-ipsec.pid \
         --ike-daemon=$IKE_DAEMON \
         $no_restart \
-        --log-file --detach --monitor unix:${rundir}/db.sock || return 1
+        --log-file --detach unix:${rundir}/db.sock || return 1
     return 0
 }