@@ -161,8 +161,8 @@ deps = [
161
161
162
162
if dep_systemd.found()
163
163
systemd_service_conf = configuration_data ()
164
- systemd_service_conf.set(' BinDir' , get_option (' bindir' ))
165
- systemd_service_conf.set(' StaticBinDir' , get_option (' sbindir' ))
164
+ systemd_service_conf.set(' BinDir' , get_option (' prefix ' ) / get_option ( ' bindir' ))
165
+ systemd_service_conf.set(' StaticBinDir' , get_option (' prefix ' ) / get_option ( ' sbindir' ))
166
166
systemd_service_user = get_option (' systemd-service-user' )
167
167
systemd_service_group = get_option (' systemd-service-group' )
168
168
systemd_service_conf.set(' ServiceUser' , systemd_service_user)
@@ -229,6 +229,7 @@ if dep_systemd.found()
229
229
auth_service_conf_general = configuration_data ()
230
230
auth_service_conf_general.merge_from(auth_service_conf)
231
231
auth_service_conf_general.set(' Description' , ' PowerDNS Authoritative Server' )
232
+ auth_service_conf_general.set(' ConfigName' , '' )
232
233
auth_service_conf_general.set(' SocketDir' , enable_socket_dir ? ' --socket-dir=%t/pdns-auth' : '' )
233
234
auth_service_conf_general.set(' SyslogIdentifier' , ' pdns-auth' )
234
235
auth_service_conf_general.set(' RuntimeDirectory' , ' pdns-auth' )
@@ -268,6 +269,7 @@ if dep_systemd.found()
268
269
ixfrdist_service_conf_general = configuration_data ()
269
270
ixfrdist_service_conf_general.merge_from(ixfrdist_service_conf)
270
271
ixfrdist_service_conf_general.set(' Description' , ' PowerDNS IXFR Distributor' )
272
+ ixfrdist_service_conf_general.set(' Config' , '' )
271
273
272
274
configure_file (
273
275
input : ' auth' / ' systemd' / ' ixfrdist.service.in' ,
@@ -278,7 +280,7 @@ if dep_systemd.found()
278
280
ixfrdist_service_conf_instance = configuration_data ()
279
281
ixfrdist_service_conf_instance.merge_from(ixfrdist_service_conf)
280
282
ixfrdist_service_conf_instance.set(' Description' , ' PowerDNS IXFR Distributor %i' )
281
- ixfrdist_service_conf_instance.set(' Config' , ' --config=' + get_option (' sysconfdir' ) + ' /ixfrdist-%.ymli ' )
283
+ ixfrdist_service_conf_instance.set(' Config' , ' --config=' + get_option (' sysconfdir' ) + ' /ixfrdist-%i.yml ' )
282
284
283
285
configure_file (
284
286
input : ' auth' / ' systemd' / ' ixfrdist.service.in' ,
0 commit comments