Stopping asterisk from shell script


im using asterisk on Fedora 7

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


Chris V


or "service asterisk stop"


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!