changed config to use variables, added parameters
This commit is contained in:
7
templates/certbot/unless_renew_cert.erb
Normal file
7
templates/certbot/unless_renew_cert.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
<% if @ng_enable_certbot == true %>
|
||||
case `find /etc/letsencrypt/renewal -type f -name "<%= @ng_nagios_server %>.conf" -mtime +80` in
|
||||
'') echo 'No filename found' exit 0 ;;
|
||||
*) echo 'Found filename' exit 1 ;;
|
||||
esac
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user