[lug] Newbie question

Hugh Brown hugh at vecna.com
Thu Jul 12 11:26:47 MDT 2001


there are various scripts that already exist, mimick their layout and call
them from another script

apache has apachectl
sendmail usually has a script in /etc/rc.d/init.d/sendmail (for redhat
anyway)
postgresql should have something similar to sendmail

Hugh

"Kirk Ellsworth"
> 
> I want to start and stop postgresql, apache, and sendmail at the same
> time with ease.  How could I put this into a script and name the script
> "horde services stop".
> 
> Also how do I run a .sql file?  I also need to attach a "\i" to the
> command???
> 
> Kirk



More information about the LUG mailing list