changeset 23 | 6c2b422b8339 |
parent 20 | 2b50fdcbf09f |
child 28 | f87fe5029832 |
--- a/debian/littlebird-tc-core.postinst Fri Sep 02 12:58:10 2011 +0200 +++ b/debian/littlebird-tc-core.postinst Fri Sep 02 15:42:50 2011 +0200 @@ -168,8 +168,14 @@ db_stop || true - a2enmod ssl - invoke-rc.d apache2 reload >&2 + ( . /etc/apache2/envvars + if ! apache2 -M 2>/dev/null | grep -q ssl_module; then + a2enmod ssl + invoke-rc.d apache2 restart >&2 + else + invoke-rc.d apache2 reload >&2 + fi + ) ;;