diff --git a/installer/resources/wrapper.conf b/installer/resources/wrapper.conf
index db613292e6989f0e7bb78c74bb6dd77aec63667e..ce3baca15dff53694c2a276c8d6658a461e31e00 100644
--- a/installer/resources/wrapper.conf
+++ b/installer/resources/wrapper.conf
@@ -105,7 +105,11 @@ wrapper.jvm_exit.timeout=30
 # as any time that the OS clock changes
 wrapper.use_system_time=false
 
-wrapper.java.pidfile=router.pid
+# pid file for the JVM
+wrapper.java.pidfile=routerjvm.pid
+# pid file for the service monitoring the JVM
+# (needs to be named i2prouter since the i2prouter script looks for that)
+wrapper.pidfile=i2prouter.pid
 
 #********************************************************************
 # Wrapper NT Service Properties