changeset 28 | f87fe5029832 |
parent 25 | 3b92710cb5c5 |
parent 23 | 6c2b422b8339 |
child 54 | 706239603081 |
--- a/debian/littlebird-tc-core.postinst Fri Sep 02 15:37:26 2011 +0200 +++ b/debian/littlebird-tc-core.postinst Fri Sep 02 15:46:41 2011 +0200 @@ -167,8 +167,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 + ) ;;