freeside/bin apache.export,1.1.2.5,1.1.2.6

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


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

Modified Files:
      Tag: FREESIDE_1_4_BRANCH
	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.1.2.5
retrieving revision 1.1.2.6
diff -u -d -r1.1.2.5 -r1.1.2.6
--- apache.export	14 Jun 2003 01:01:13 -0000	1.1.2.5
+++ apache.export	6 May 2004 22:29:25 -0000	1.1.2.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