08.03.2016, 17:30, Daniel Kahn Gillmor kirjoitti: > On Tue 2016-03-08 08:01:44 -0500, Timo Aaltonen wrote: >> diff --git a/debian/opendnssec-enforcer.service >> b/debian/opendnssec-enforcer.service >> new file mode 100644 >> index 0000000..fb60d14 >> --- /dev/null >> +++ b/debian/opendnssec-enforcer.service >> @@ -0,0 +1,12 @@ >> +[Unit] >> +Description=OpenDNSSEC Enforcer daemon >> +After=syslog.target network.target >> + >> +[Service] >> +Type=forking >> +PIDFile=/var/run/opendnssec/enforcerd.pid >> +EnvironmentFile=-/etc/default/opendnssec >> +ExecStart=/usr/sbin/ods-enforcerd $ODS_ENFORCERD_OPT >> + >> +[Install] >> +WantedBy=multi-user.target > > If this is for running opendnssec enforcerd, then... > > >> diff --git a/debian/opendnssec-signer.service >> b/debian/opendnssec-signer.service >> new file mode 100644 >> index 0000000..19e4b34 >> --- /dev/null >> +++ b/debian/opendnssec-signer.service >> @@ -0,0 +1,12 @@ >> +[Unit] >> +Description=OpenDNSSEC signer daemon >> +After=syslog.target network.target ods-enforcerd > > shouldn't this After line have > s/ods-enforcerd/opendnssec-enforcer.service/ ? > > It's entirely possible that i'm misunderstanding something about systemd > service files, so feel free to clarify!
No you're right! They were taken from Fedora and I forgot to replace all the strings.. they're called ods-enforcerd.service/ods-signerd.service there, and use /etc/sysconfig/ods as the shared config source (used for daemon opts and in freeipa case for SOFTHSM2_CONF environment variable) feel free to call them whatever, just that I'd like to get freeipa 4.3 in experimental soon :) -- t