Added script for manage mod_md

This commit is contained in:
Antonio de la Rosa 2024-09-05 18:20:02 +02:00
parent 3b8667ee1c
commit d9303437a9
2 changed files with 5 additions and 1 deletions

View file

@ -129,6 +129,10 @@ if linux_distro=='rocky' or linux_distro=='almalinux' or linux_distro=='fedora':
else:
print('Not firewalld detected...')
# Copy file
linux.shell_command('sudo cp modules/apache/scripts/check_mod_md.py /usr/local/bin && sudo chmod 755 /usr/local/bin/check_mod_md.py')
#Restart apache
linux_service={'debian' : 'apache2', 'ubuntu' : 'apache2', 'fedora' : 'httpd', 'almalinux' : 'httpd', 'rocky' : 'httpd', 'arch' : 'httpd'}