mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007) | 2 lines Add revision Id tags (by request of tzafrir) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 lines
263 B
Plaintext
Executable File
19 lines
263 B
Plaintext
Executable File
#!/sbin/runscript
|
|
# $Id$
|
|
|
|
depend() {
|
|
need net logger
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting Asterisk"
|
|
/usr/sbin/asterisk
|
|
eend $? "Failed to start Asterisk"
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping Asterisk"
|
|
kill $(cat /var/run/asterisk.pid)
|
|
eend $? "Failed to stop Asterisk"
|
|
}
|