freeside/bin apache.export,1.5,1.6

ivan ivan at pouncequick.420.am
Thu May 6 15:29:26 PDT 2004


Update of /home/cvs/cvsroot/freeside/bin
In directory pouncequick:/tmp/cvs-serv747/bin

Modified Files:
	apache.export 
Log Message:
add option to change the restart command in apache exports

Index: apache.export
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/apache.export,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- apache.export	14 Jun 2003 01:01:12 -0000	1.5
+++ apache.export	6 May 2004 22:29:24 -0000	1.6
@@ -51,7 +51,9 @@
   } ) or die "rsync to $machine failed: ". join(" / ", $rsync->err);
  # warn $rsync->out;
 
-  ssh("root\@$machine", 'apachectl graceful');
+  my $restart = $export->option('restart') || 'apachectl graceful';
+
+  ssh("root\@$machine", $restart);
 
 }
 




More information about the freeside-commits mailing list