A dehydrated (ACME client) integration on SME Server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
|
|
|
templates2events("/etc/letsencrypt.sh/config.sh", qw(letsencrypt-update ssl-update bootstrap-console-save));
|
|
|
|
templates2events("/etc/cron.daily/letsencrypt.sh", qw(letsencrypt-update));
|
|
|
|
templates2events("/etc/letsencrypt.sh/domains.txt",
|
|
|
|
qw(
|
|
|
|
letsencrypt-update
|
|
|
|
bootstrap-console-save
|
|
|
|
domain-create
|
|
|
|
domain-delete
|
|
|
|
host-create
|
|
|
|
host-delete
|
|
|
|
host-modify
|
|
|
|
));
|
|
|
|
templates2events("/etc/httpd/conf/httpd.conf", qw(letsencrypt-update));
|
|
|
|
safe_symlink("sigusr1", "root/etc/e-smith/events/letsencrypt-update/services2adjust/httpd-e-smith");
|
|
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/etc/cron.daily/letsencrypt.sh/template-begin");
|