Created
September 21, 2013 13:44
-
-
Save brablc/6650802 to your computer and use it in GitHub Desktop.
Fix for Plesk 11.5.30 and Watchdog 2.0.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- psa-monit.conf.orig 2013-09-21 15:05:09.000000000 +0200 | |
+++ psa-monit.conf 2013-09-21 15:25:48.000000000 +0200 | |
@@ -1,11 +1,18 @@ | |
# psa-monit | |
description "Plesk Watchdog Monitor service" | |
author "Parallels <info@parallels.com>" | |
-start on starting rc RUNLEVEL=[2345] | |
+start on runlevel [2345] | |
stop on shutdown | |
-exec /usr/local/psa/libexec/modules/watchdog/init/monit /usr/local/psa/etc/modules/watchdog/monitrc | |
-respawn | |
+console output | |
+ | |
+script | |
+ /bin/sleep 60 | |
+ echo "Starting psa-monit." | |
+ exec /usr/local/psa/libexec/modules/watchdog/init/monit /usr/local/psa/etc/modules/watchdog/monitrc | |
+end script | |
+ | |
+# respawn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- psa-wdcollect.conf.orig 2013-09-21 14:56:14.000000000 +0200 | |
+++ psa-wdcollect.conf 2013-09-21 15:25:50.000000000 +0200 | |
@@ -1,11 +1,18 @@ | |
# psa-wdcollect | |
description "Plesk Watchdog Collector service" | |
author "Parallels <info@parallels.com>" | |
-start on [2345] | |
+start on runlevel [2345] | |
stop on shutdown | |
-exec /usr/local/psa/libexec/modules/watchdog/init/wdcollect /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php | |
-respawn | |
+console output | |
+ | |
+script | |
+ /bin/sleep 60 | |
+ echo "Starting psa-wdcollect." | |
+ exec /usr/local/psa/libexec/modules/watchdog/init/wdcollect /usr/local/psa/etc/modules/watchdog/wdcollect.inc.php | |
+end script | |
+ | |
+#respawn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment