#!/usr/bin/perl -w use esmith::Build::CreateLinks qw(:all); templates2events("/etc/letsencrypt.sh/config", 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");