mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-22 15:13:50 -06:00
server.postinst/postrm: Enable/disable mod_ssl.
This commit is contained in:
parent
4041786e43
commit
8e0bfb5108
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -11,6 +11,7 @@ freeipa (4.7.0~pre1+git20180404-1) UNRELEASED; urgency=medium
|
||||
* control.server: Bump dogtag dependencies to 10.6.0~.
|
||||
* control.server: Drop mod-nss from Depends, mod_ssl is used instead.
|
||||
* enable-mod-nss-during-setup.diff: Dropped, not needed anymore.
|
||||
* server.postinst/postrm: Enable/disable mod_ssl.
|
||||
|
||||
-- Timo Aaltonen <tjaalton@debian.org> Fri, 06 Apr 2018 16:18:42 +0300
|
||||
|
||||
|
3
debian/freeipa-server.postinst
vendored
3
debian/freeipa-server.postinst
vendored
@ -64,6 +64,9 @@ if [ "$1" = configure ]; then
|
||||
if [ ! -e /etc/apache2/mods-enabled/session_cookie.load ]; then
|
||||
apache2_invoke enmod session_cookie || exit $?
|
||||
fi
|
||||
if [ ! -e /etc/apache2/mods-enabled/ssl.load ]; then
|
||||
apache2_invoke enmod ssl || exit $?
|
||||
fi
|
||||
fi
|
||||
|
||||
# check if IPA is set up
|
||||
|
3
debian/freeipa-server.postrm
vendored
3
debian/freeipa-server.postrm
vendored
@ -45,6 +45,9 @@ case "$1" in
|
||||
if [ -e /etc/apache2/mods-enabled/session_cookie.load ]; then
|
||||
apache2_invoke dismod session_cookie || exit $?
|
||||
fi
|
||||
if [ -e /etc/apache2/mods-enabled/ssl.load ]; then
|
||||
apache2_invoke dismod ssl || exit $?
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user