LiteSpeed Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64 safemode : OFF MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF > / opt / fleetssl-cpanel / | Server Ip : 172.67.216.244 |
Filename | /opt/fleetssl-cpanel/fix_fleetssl_cpanel_0.19.5-upgrade.sh |
Size | 275 |
Permission | rwxr-xr-x |
Owner | |
Create time | 01-Jul-2024 10:19 |
Last modified | 09-Feb-2023 06:22 |
Last accessed | 05-Apr-2025 08:50 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/usr/bin/env bash
sleep 60
# If the le-cp symlink is valid, nothing to fix.
if [ -f /usr/local/bin/le-cp ]; then
exit 0
fi
# If the RPM is not installed, nothing to fix.
if ! rpm -q --quiet letsencrypt-cpanel; then
exit 0
fi
yum -yq reinstall letsencrypt-cpanel
sleep 60
# If the le-cp symlink is valid, nothing to fix.
if [ -f /usr/local/bin/le-cp ]; then
exit 0
fi
# If the RPM is not installed, nothing to fix.
if ! rpm -q --quiet letsencrypt-cpanel; then
exit 0
fi
yum -yq reinstall letsencrypt-cpanel