All checks were successful
continuous-integration/drone/tag Build is passing
42 lines
860 B
Perl
42 lines
860 B
Perl
#!/usr/bin/perl -w
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
event_templates('domain-modify', qw(
|
|
/etc/httpd/pxeserver-httpd/httpd.conf
|
|
/srv/ipxe/default_preseed.txt
|
|
));
|
|
|
|
event_services("domain-modify", qw(
|
|
pxeserver-httpd restart
|
|
nfs restart
|
|
));
|
|
|
|
event_services("interface-update", qw(
|
|
pxeserver-httpd restart
|
|
nfs restart
|
|
rpcbind restart
|
|
));
|
|
|
|
event_templates('interface-update', qw(
|
|
/etc/dnsmasq.conf
|
|
/etc/exports
|
|
));
|
|
|
|
event_templates('hostname-modify', qw(
|
|
/srv/ipxe/default_preseed.txt
|
|
));
|
|
|
|
event_actions("libreschool-pxeserver-update", qw(
|
|
initialize-default-databases 00
|
|
));
|
|
|
|
event_templates("libreschool-pxeserver-update", qw(
|
|
/etc/httpd/pxeserver-httpd/httpd.conf
|
|
/srv/ipxe/common.ipxe.cfg
|
|
/srv/ipxe/default_preseed.txt
|
|
/srv/ipxe/success_script.sh
|
|
/etc/dnsmasq.conf
|
|
/etc/exports
|
|
));
|