2014-09-10 | Paul Boddie | raw annotate files changeset graph | Packaging for chwala 0.2-0~kolab9 from upstream. |
1 #!/bin/bash 2 3 reload_apache() 4 { 5 if apache2ctl configtest 2>/dev/null; then 6 invoke-rc.d apache2 $1 || true 7 else 8 echo "Your apache2 configuration is broken, so we're not restarting it for you." 9 fi 10 } 11 12 13 case "$1" in 14 remove) 15 if [ -e "/etc/apache2/sites-enabled/chwala" ]; then 16 a2dissite chwala 17 fi 18 reload_apache reload 19 ;; 20 esac