%{_mandir}/man1/saxfr.1.gz
%{_mandir}/man1/sdig.1.gz
%{_unitdir}/ixfrdist.service
+%{_unitdir}/ixfrdist@.service
%files backend-mysql
%doc modules/gmysqlbackend/schema.mysql.sql
%{_mandir}/man1/saxfr.1.gz
%{_mandir}/man1/sdig.1.gz
%{_unitdir}/ixfrdist.service
+%{_unitdir}/ixfrdist@.service
%files backend-mysql
%doc modules/gmysqlbackend/schema.mysql.sql
usr/bin/saxfr
usr/bin/sdig
lib/systemd/system/ixfrdist.service
+lib/systemd/system/ixfrdist@.service
ixfrdist.service: ixfrdist.service.in
$(AM_V_GEN)sed -e 's![@]bindir[@]!$(bindir)!' < $< > $@
+ixfrdist@.service: ixfrdist.service
+ $(AM_V_GEN)sed -e 's!/ixfrdist!& --config $(sysconfdir)/ixfrdist-%i.yml!' \
+ < $< > $@
+
systemdsystemunit_DATA += \
- ixfrdist.service
+ ixfrdist.service \
+ ixfrdist@.service
endif # IXFRDIST
CLEANFILES += \
- ixfrdist.service
+ ixfrdist.service \
+ ixfrdist@.service
endif # HAVE_SYSTEMD
[Unit]
Description=PowerDNS IXFR Distributor
Documentation=man:ixfrdist(1)
+Documentation=man:ixfrdist.yml(5)
Documentation=https://doc.powerdns.com
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
-# You'll want to override this, see the manpage
ExecStart=@bindir@/ixfrdist
Restart=on-failure
RestartSec=1