Skip to content

Instantly share code, notes, and snippets.

@brablc
Created September 21, 2013 13:44
Show Gist options
  • Save brablc/6650802 to your computer and use it in GitHub Desktop.
Save brablc/6650802 to your computer and use it in GitHub Desktop.
Fix for Plesk 11.5.30 and Watchdog 2.0.7
--- 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
--- 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