2017-12-29 17:12:55 +01:00
|
|
|
systemd_unit_conf = configuration_data()
|
|
|
|
systemd_unit_conf.set('prefix', get_option('prefix'))
|
|
|
|
|
2023-09-15 21:04:38 +02:00
|
|
|
systemd_socket_conf = configuration_data()
|
|
|
|
listen_streams = []
|
|
|
|
if get_option('local_socket')
|
|
|
|
listen_streams += 'ListenStream=%t/mpd/socket'
|
|
|
|
endif
|
|
|
|
if get_option('tcp')
|
|
|
|
listen_streams += 'ListenStream=6600'
|
|
|
|
endif
|
|
|
|
systemd_socket_conf.set('listen_streams', '\n'.join(listen_streams))
|
|
|
|
|
2017-12-29 17:12:55 +01:00
|
|
|
subdir('system')
|
|
|
|
subdir('user')
|