Prv8 Shell
Server : Apache
System : Linux vps.urbanovitalino.adv.br 3.10.0-1062.12.1.el7.x86_64 #1 SMP Tue Feb 4 23:02:59 UTC 2020 x86_64
User : urbanovitalinoad ( 1001)
PHP Version : 7.3.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /opt/fleetssl-cpanel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/fleetssl-cpanel/post-install.sh
#!/usr/bin/env bash

chmod +x /opt/fleetssl-cpanel/get_proxy_names

cd /opt/fleetssl-cpanel && ./letsencrypt.live.cgi -mode install

# symlink for easy access
ln -sf /opt/fleetssl-cpanel/letsencrypt.live.cgi /usr/local/bin/le-cp

# we need to restart apache to load in the new autossl exclusion urls the first time
NEEDS_APACHE_RESTART=0
if [ ! -e /var/cpanel/perl/Cpanel/SSL/Auto/Provider/FleetSSLProvider.pm ]; then
	echo "Will rebuild conf and restart Apache to reload AutoSSL DCV URLs"
	NEEDS_APACHE_RESTART=1
fi

# symlink autossl provider
mkdir -p /var/cpanel/perl/Cpanel/SSL/Auto/Provider/
ln -sf /opt/fleetssl-cpanel/FleetSSLProvider.pm /var/cpanel/perl/Cpanel/SSL/Auto/Provider/FleetSSLProvider.pm

# rebuild httpconf to update new autossl provider and restart apache
if [ $NEEDS_APACHE_RESTART -eq "1" ]; then
	echo "Rebuilding Apache conf and restarting now ..."
	/scripts/rebuildhttpdconf && /scripts/restartsrv_httpd > /dev/null
fi

# Run installer script fix asynchronously so that we can automatically fix the prerm issue.
chmod +x /opt/fleetssl-cpanel/fix_fleetssl_cpanel_0.19.5-upgrade.sh
nohup /opt/fleetssl-cpanel/fix_fleetssl_cpanel_0.19.5-upgrade.sh 2>&1 >/dev/null &

haha - 2025