File pacemaker-systemd-metadata-timeouts.patch of Package pacemaker.3577
commit 17d65e9f44061a4fa14a9cddd6edc403b2d6d2b3
Author: Andrew Beekhof <andrew@beekhof.net>
Date: Thu Nov 12 10:33:42 2015 +1100
Fix: systemd: The underlying systemd calls default to 90s for their timeouts
diff --git a/lib/services/systemd.c b/lib/services/systemd.c
index 6e36d81..3d5a600 100644
--- a/lib/services/systemd.c
+++ b/lib/services/systemd.c
@@ -420,11 +420,10 @@ systemd_unit_metadata(const char *name, int timeout)
" <parameters>\n"
" </parameters>\n"
" <actions>\n"
- " <action name=\"start\" timeout=\"15\" />\n"
- " <action name=\"stop\" timeout=\"15\" />\n"
- " <action name=\"status\" timeout=\"15\" />\n"
- " <action name=\"restart\" timeout=\"15\" />\n"
- " <action name=\"monitor\" timeout=\"15\" interval=\"15\" start-delay=\"15\" />\n"
+ " <action name=\"start\" timeout=\"100\" />\n"
+ " <action name=\"stop\" timeout=\"100\" />\n"
+ " <action name=\"status\" timeout=\"100\" />\n"
+ " <action name=\"monitor\" timeout=\"100\" interval=\"60\"/>\n"
" <action name=\"meta-data\" timeout=\"5\" />\n"
" </actions>\n"
" <special tag=\"systemd\">\n"