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
741 B

9 years ago
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
templates2events("/etc/letsencrypt.sh/config.sh", qw(le-update ssl-update bootstrap-console-save));
templates2events("/etc/crontab", qw(le-update));
templates2events("/etc/letsencrypt.sh/domains.txt",
qw(
le-update
bootstrap-console-save
domain-create
domain-delete
host-create
host-delete
host-modify
));
templates2events("/etc/httpd/conf/httpd.conf", qw(le-update));
safe_symlink("sigusr1", "root/etc/e-smith/events/le-update/services2adjust/httpd-e-smith");
event_link("exec-letsencrypt", "le-update", "20");