diff --git a/NEWS b/NEWS index 83362a28d..e0d567722 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ ver 0.21.8 (not yet released) - httpd: fix use-after-free bug * fix Bonjour bug * fix build failure with GCC 9 +* systemd: add user socket unit ver 0.21.7 (2019/04/03) * input diff --git a/systemd/user/meson.build b/systemd/user/meson.build index b1e94b14f..fdce339e4 100644 --- a/systemd/user/meson.build +++ b/systemd/user/meson.build @@ -3,6 +3,12 @@ if systemd_user_unit_dir == '' systemd_user_unit_dir = join_paths(get_option('prefix'), 'lib', 'systemd', 'user') endif +# copy the system socket unit to the "user" directory +install_data( + join_paths('..', 'system', 'mpd.socket'), + install_dir: systemd_user_unit_dir, +) + configure_file( input: 'mpd.service.in', output: 'mpd.service',