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
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}"