projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e62f3
)
debian: Restart ovs-monitor-ipsec when --monitor specified
author
Justin Pettit
<jpettit@nicira.com>
Tue, 28 Sep 2010 01:48:25 +0000
(18:48 -0700)
committer
Justin Pettit
<jpettit@nicira.com>
Tue, 28 Sep 2010 01:48:25 +0000
(18:48 -0700)
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.
debian/ovs-monitor-ipsec
patch
|
blob
|
history
diff --git
a/debian/ovs-monitor-ipsec
b/debian/ovs-monitor-ipsec
index 1caece3a91f4881caa9bafea677c0adac212e67a..184b00469a1d1df9eda1c8ee07385258666b9463 100755
(executable)
--- 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)