From: Justin Pettit Date: Tue, 28 Sep 2010 01:48:25 +0000 (-0700) Subject: debian: Restart ovs-monitor-ipsec when --monitor specified X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55f8a832c181a047f06f57125a2c0da9c235e030;p=openvswitch debian: Restart ovs-monitor-ipsec when --monitor specified The OVS Python daemon library will restart a process when started with "--monitor" that exits with RESTART_EXIT_CODE. Have ovs-monitor-ipsec exit with this code when an uncaught exception occurs. --- diff --git a/debian/ovs-monitor-ipsec b/debian/ovs-monitor-ipsec index 1caece3a..184b0046 100755 --- a/debian/ovs-monitor-ipsec +++ b/debian/ovs-monitor-ipsec @@ -347,3 +347,4 @@ if __name__ == '__main__': raise except: s_log.exception("traceback") + sys.exit(ovs.daemon.RESTART_EXIT_CODE)