[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#301702: the correct patch



Sorry, the other patch i sent was wrong, this should do what i said in
the other mail.

Thanks,
Rodrigo
--- _apache2.orig	2006-12-12 10:57:36.000000000 -0300
+++ apache2	2006-12-12 10:58:26.000000000 -0300
@@ -8,8 +8,6 @@
 	create 640 root adm
 	sharedscripts
 	postrotate
-		if [ -f /var/run/apache2.pid ]; then
-			/etc/init.d/apache2 restart > /dev/null
-		fi
+		invoke-rc.d apache2 reload > /dev/null
 	endscript
 }

Reply to: