diff --git a/installer/resources/wrapper.config b/installer/resources/wrapper.config
index 8ed9410d86ebf1e3cef2fb20f6b6f718b0bfeffd..3601991da1e608cec7e2973f61c4b43e09283062 100644
--- a/installer/resources/wrapper.config
+++ b/installer/resources/wrapper.config
@@ -285,3 +285,10 @@ wrapper.ntservice.starttype=AUTO_START
 # Allow the service to interact with the desktop.
 wrapper.ntservice.interactive=false
 
+# http://wrapper.tanukisoftware.com/doc/english/prop-check-deadlock.html
+# requires wrapper 3.5.0 or higher
+# interval is seconds
+wrapper.check.deadlock=TRUE
+wrapper.check.deadlock.interval=3699
+wrapper.check.deadlock.action=DUMP,RESTART
+wrapper.check.deadlock.output=FULL