X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/49d252e01b5d04458c8672b058048550606858dc..8750e7712cc522602b94756be8311ba50a791837:/debian/sipb-xen-www.init?ds=sidebyside diff --git a/debian/sipb-xen-www.init b/debian/sipb-xen-www.init index e907f53..7ce5b2a 100755 --- a/debian/sipb-xen-www.init +++ b/debian/sipb-xen-www.init @@ -15,7 +15,9 @@ PACKAGE=sipb-xen-www gen_config() { - mako /etc/apache2/sites-available/{ssl,svn}.mako + for i in /etc/apache2/sites-available/{ssl,svn} + do mako-render $i.mako > $i + done } case "$1" in @@ -23,6 +25,7 @@ case "$1" in log_begin_msg "Reloading config for $PACKAGE" gen_config log_end_msg $? + /etc/init.d/apache2 "$1" ;; stop) ;;