From 5a2ef47b2f429c2aa9947672d8d7ae6d70dfdd42 Mon Sep 17 00:00:00 2001
From: Sean Bright <sean@malleable.com>
Date: Mon, 13 Jul 2009 18:46:47 +0000
Subject: [PATCH] Make sure that since we are passing -c to asterisk that we
 have a console.

Without this line, Asterisk will busy-loop trying to read and write to
/dev/null (woops... my bad).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 contrib/upstart/asterisk.upstart-0.3.9 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/upstart/asterisk.upstart-0.3.9 b/contrib/upstart/asterisk.upstart-0.3.9
index f1b2a31f47..25d88758a3 100644
--- a/contrib/upstart/asterisk.upstart-0.3.9
+++ b/contrib/upstart/asterisk.upstart-0.3.9
@@ -27,6 +27,7 @@ pre-start script
   mkdir -p /var/run/asterisk
 end script
 
+console output
 respawn
 exec /usr/sbin/asterisk -vvvvvvvg -cf
 
-- 
GitLab