Remove firewall commands for gnusocial/postactiv
This commit is contained in:
parent
e663ab3c14
commit
c0e50a0685
|
@ -614,6 +614,10 @@ function remove_gnusocial {
|
|||
sed -i 's|mysqli.allow_persistent.*|mysqli.allow_persistent = On|g' /etc/php/7.0/cli/php.ini
|
||||
sed -i 's|mysqli.reconnect.*|mysqli.reconnect = Off|g' /etc/php/7.0/cli/php.ini
|
||||
|
||||
if [ -f /usr/bin/gnusocial-firewall ]; then
|
||||
rm /usr/bin/gnusocial-firewall
|
||||
fi
|
||||
|
||||
function_check remove_ddns_domain
|
||||
remove_ddns_domain "$GNUSOCIAL_DOMAIN_NAME"
|
||||
}
|
||||
|
|
|
@ -627,6 +627,10 @@ function remove_postactiv {
|
|||
sed -i 's|mysqli.allow_persistent.*|mysqli.allow_persistent = On|g' /etc/php/7.0/cli/php.ini
|
||||
sed -i 's|mysqli.reconnect.*|mysqli.reconnect = Off|g' /etc/php/7.0/cli/php.ini
|
||||
|
||||
if [ -f /usr/bin/postactiv-firewall ]; then
|
||||
rm /usr/bin/postactiv-firewall
|
||||
fi
|
||||
|
||||
function_check remove_ddns_domain
|
||||
remove_ddns_domain "$POSTACTIV_DOMAIN_NAME"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue