Asterisk as a service on Ubuntu 7.10 Server Edition

In the directory "/etc/event.d" create a text file called asterisk and place the following code in that file, save, and reboot.

Due to the editing of the wiki the code does not show correctly. Place the "number sign" in front of the words "The service" and "Started until" which makes them comments

  1. This service maintains Asterisk from the point the system is
  2. started untill it is shut down again.

description "Asterisk Daemon"

start on runlevel-2
stop on shutdown

exec //usr/sbin/asterisk -f

Created by: mperdue, Last modification: Wed 25 of Nov, 2009 (08:48 UTC) by admin
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+