CVS User Account cvsuser
Mon Jul 25 22:37:21 PDT 2005
Log Message:
-----------
Per Ian Burrell - fix to slon_watchdog.pl

Slon_watchdog.pl is supposed to call slonik_restart_node, but is
currently calling restart_node. It didn't get changed when the programs
were renamed.

Tags:
----
REL_1_1_STABLE

Modified Files:
--------------
    slony1-engine/tools/altperl:
        slon_watchdog.pl (r1.11 -> r1.11.2.1)

-------------- next part --------------
Index: slon_watchdog.pl
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/tools/altperl/slon_watchdog.pl,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -Ltools/altperl/slon_watchdog.pl -Ltools/altperl/slon_watchdog.pl -u -w -r1.11 -r1.11.2.1
--- tools/altperl/slon_watchdog.pl
+++ tools/altperl/slon_watchdog.pl
@@ -48,7 +48,7 @@
     print SLONLOG "WATCHDOG: You ought to check the postmaster and slon for evidence of a crash!\n";
     print SLONLOG "WATCHDOG: I'm going to restart slon for $node...\n";
     # First, restart the node using slonik
-    system "@@TOOLSBIN@@/restart_node $node | @@PGBINDIR@@/slonik";
+    system "@@TOOLSBIN@@/slonik_restart_node $node | @@PGBINDIR@@/slonik";
     # Next, restart the slon process to service the node
     start_slon($nodenum);
     $pid = get_pid($node);


More information about the Slony1-commit mailing list