mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -07:00
Update postinst
This commit is contained in:
parent
d68ac3993c
commit
b378cf18ed
1 changed files with 0 additions and 9 deletions
|
@ -36,14 +36,5 @@ if [ -x /usr/local/vesta/upd/fix_dhcprenew.sh ]; then
|
||||||
/usr/local/vesta/upd/fix_dhcprenew.sh
|
/usr/local/vesta/upd/fix_dhcprenew.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fixing Apache status public access
|
|
||||||
if [ ! -f "/usr/local/vesta/data/upgrades/apache_status_public_access" ]; then
|
|
||||||
touch /usr/local/vesta/data/upgrades/apache_status_public_access
|
|
||||||
if [ -f "/etc/apache2/mods-available/status.conf" ]; then
|
|
||||||
echo "=== Fixing Apache status public access"
|
|
||||||
sed -i "s|Allow from all|# Allow from all|g" /etc/apache2/mods-available/status.conf
|
|
||||||
service apache2 restart
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue