Fixes in apache
This commit is contained in:
parent
d9303437a9
commit
8231aa715c
2 changed files with 27 additions and 4 deletions
|
|
@ -131,7 +131,11 @@ if linux_distro=='rocky' or linux_distro=='almalinux' or linux_distro=='fedora':
|
|||
|
||||
# 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')
|
||||
#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')
|
||||
|
||||
# echo "0 0,12 * * * root /opt/certbot/bin/python -c 'import random; import time; time.sleep(random.random() * 3600)' && sudo certbot renew -q" | sudo tee -a /etc/cron.d/certbot > /dev/null
|
||||
|
||||
#linux.shell_command('echo "* * * * * root python /usr/local/bin/check_mod_md.py" | sudo tee -a /etc/cron.d/mod_md > /dev/null')
|
||||
|
||||
#Restart apache
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue