From f9d380495c03ff66c054ce0a8e8b5a45a1848cb1 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Tue, 14 Oct 2008 03:14:15 -0400 Subject: [PATCH] Add a dummy console for the console server's conserver in case no VMs are running svn path=/trunk/packages/sipb-xen-console/; revision=1121 --- debian/changelog | 7 +++++++ files/etc/conserver/conserver.cf.sipb-xen | 10 ++++++++++ 2 files changed, 17 insertions(+) diff --git a/debian/changelog b/debian/changelog index f2ef80c..20977e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sipb-xen-console (8.4) unstable; urgency=low + + * Create a dummy console entry that exists by default so that conserver + won't quit if no consoles are defined. + + -- Evan Broder Tue, 14 Oct 2008 03:13:47 -0400 + sipb-xen-console (8.3) unstable; urgency=low * Update nss-pgsql.conf.mako to reflect new config file format diff --git a/files/etc/conserver/conserver.cf.sipb-xen b/files/etc/conserver/conserver.cf.sipb-xen index 2142ed0..6d7130e 100644 --- a/files/etc/conserver/conserver.cf.sipb-xen +++ b/files/etc/conserver/conserver.cf.sipb-xen @@ -2,6 +2,16 @@ config * { sslrequired yes; } +# If no consoles are defined, as is the case when the host first boots +# up, conserver will quit. This keeps it running. +# +# Should someone create a VM called dummy-console, their VM will +# shadow over this one +console dummy-console { + master localhost; + type noop; +} + default * { type exec; } -- 1.7.9.5