+sipb-xen-www (3.16) unstable; urgency=low
+
+ * Shorten initscript with spiffy new library from sipb-xen-base
+ * Fix comment copy-paste error in initscript, now that it's mostly comments
+
+ -- Greg Price <price@mit.edu> Fri, 24 Oct 2008 07:19:13 -0400
+
sipb-xen-www (3.15) unstable; urgency=low
* Use /etc/invirt/keytab instead of a separate keytab for apache
Package: sipb-xen-www
Architecture: all
-Depends: ${misc:Depends}, libapache2-mod-fcgid, python-flup, python-cheetah, python-simplejson, sipb-xen-database-common, sipb-xen-vnc-client, kstart, debathena-afs-config,
+Depends: ${misc:Depends}, libapache2-mod-fcgid, python-flup, python-cheetah, python-simplejson, sipb-xen-database-common, sipb-xen-vnc-client, kstart, debathena-afs-config, sipb-xen-base,
libapache2-svn, postfix, subversion, zephyr-clients
Description: Install the sipb-xen-dev website
# Required-Stop: $local_fs $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
-# Short-Description: conserver config from invirt config for invirt host
+# Short-Description: sipb-xen web server
# Description:
### END INIT INFO
PACKAGE=sipb-xen-www
+PARENTPACKAGE=apache2
+GEN_FILES=(/etc/apache2/sites-available/{ssl,svn})
-. /lib/lsb/init-functions
-
-gen_config()
-{
- for i in /etc/apache2/sites-available/{ssl,svn}
- do mako-render $i.mako > $i
- done
-}
-
-case "$1" in
- start|reload|force-reload|restart)
- log_begin_msg "Reloading config for $PACKAGE"
- gen_config
- log_end_msg $?
- /etc/init.d/apache2 "$1"
- ;;
- stop)
- /etc/init.d/apache2 "$1"
- ;;
- *)
- log_success_msg "Usage: /etc/init.d/$PACKAGE {start|reload|force-reload|restart|stop}"
- ;;
-esac
+. /lib/init/config-init.sh
+config_init "$1"