[Pkg-mono-svn-commits] rev 1500 - xsp/trunk/debian
Pablo Fischer
pabl0-guest@haydn.debian.org
Sun, 12 Dec 2004 11:02:54 -0700
Author: pabl0-guest
Date: 2004-12-12 11:02:27 -0700 (Sun, 12 Dec 2004)
New Revision: 1500
Modified:
xsp/trunk/debian/mono-server-update.conf
Log:
Duh, I was using the init.d script and I should use the apachectl/apache2ctl command
Modified: xsp/trunk/debian/mono-server-update.conf
===================================================================
--- xsp/trunk/debian/mono-server-update.conf 2004-12-12 17:46:42 UTC (rev 1499)
+++ xsp/trunk/debian/mono-server-update.conf 2004-12-12 18:02:27 UTC (rev 1500)
@@ -96,15 +96,15 @@
#Equal?
if(("$new_md5" ne "$orig_md5") && ($restart eq "yes")) {
if(( -f $daemon ) && ( -f $daemon_pid )) {
- system("$daemon stop");
- system("$daemon start");
+ system("apachectl stop");
+ system("apachectl start");
# system("$daemon reload");
# system("$daemon restart");
}
if(( -f $daemon2 ) && ( -f $daemon2_pid )) {
- system("$daemon2 stop");
- system("$daemon2 start");
+ system("apache2ctl stop");
+ system("apache2ctl start");
# system("$daemon2 reload");
# system("$daemon2 restart");