Stopping asterisk from shell script

Hi,

im using asterisk 1.4.18.1 on Fedora 7

How can i stop asterisk from running using a shell script?

Regards,

Chris V

Hi


or "service asterisk stop"

Ian

the above should stop it via the command line.

if you meant to prevent it from starting at boot
then do the following.
type “setup” in the command line

go to services, and there deselect the asterisk service. exit and it shouldnt boot along :smile:

thanks ianplain, that was exactly what i needed!

Thanks also COpeter, thats not what i was after but is very useful to know!