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

Re: How to restart apache within a postinst script?



On Tue, Aug 03, 2004 at 02:12:17AM -0300, Stephen Cormier wrote:
> On August 3, 2004 12:58 am, Thomas GOIRAND wrote:
> 
> > Can someone tell me the correct methode to (re)start apache from
> > postint script ?
> 
> 
> If I was you and trying to the same thing I think I would take a look at 
> the already existing apache.preinst and apache.postinst scripts and see 
> if they can be modified for use/used by your program.

  have a look at /usr/share/wwwconfig-common/restart.sh
in wwwconfig-common
-- 
Pierre Habouzit                                   http://www.madism.org/
-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-
gpg : 1024D/A1EE761C  6045 409E 5CB5 2CEA 3E70  F17E C41E 995C C98C 90BE 
spam: mad.junk@madism.org

Attachment: signature.asc
Description: Digital signature


Reply to: