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.

20 lines
867 B

9 years ago
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
templates2events("/etc/dehydrated/config", qw(letsencrypt-update bootstrap-console-save));
templates2events("/etc/cron.daily/dehydrated", qw(letsencrypt-update));
templates2events("/etc/dehydrated/domains.txt",
9 years ago
qw(
letsencrypt-update
9 years ago
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/dehydrated/template-begin");