#!/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", 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/dehydrated/template-begin");