Added script for manage mod_md
This commit is contained in:
parent
3b8667ee1c
commit
d9303437a9
2 changed files with 5 additions and 1 deletions
|
|
@ -129,6 +129,10 @@ if linux_distro=='rocky' or linux_distro=='almalinux' or linux_distro=='fedora':
|
||||||
else:
|
else:
|
||||||
print('Not firewalld detected...')
|
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
|
#Restart apache
|
||||||
|
|
||||||
linux_service={'debian' : 'apache2', 'ubuntu' : 'apache2', 'fedora' : 'httpd', 'almalinux' : 'httpd', 'rocky' : 'httpd', 'arch' : 'httpd'}
|
linux_service={'debian' : 'apache2', 'ubuntu' : 'apache2', 'fedora' : 'httpd', 'almalinux' : 'httpd', 'rocky' : 'httpd', 'arch' : 'httpd'}
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ class ServerTask(Task):
|
||||||
|
|
||||||
#['modules/webservers/scripts/install_quota_home.py', 0o700],
|
#['modules/webservers/scripts/install_quota_home.py', 0o700],
|
||||||
|
|
||||||
self.files=[['modules/apache/scripts/install_apache.py', 0o700]]
|
self.files=[['modules/apache/scripts/install_apache.py', 0o700], ['modules/apache/scripts/check_mod_md.py', 0o700]]
|
||||||
|
|
||||||
#self.commands_to_execute=[]
|
#self.commands_to_execute=[]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue