systemd: add user socket unit
Copy the system socket unit to the "user" directory. Closes https://github.com/MusicPlayerDaemon/MPD/issues/530
This commit is contained in:
parent
b4fcbdb235
commit
fe8621906d
1
NEWS
1
NEWS
@ -4,6 +4,7 @@ ver 0.21.8 (not yet released)
|
|||||||
- httpd: fix use-after-free bug
|
- httpd: fix use-after-free bug
|
||||||
* fix Bonjour bug
|
* fix Bonjour bug
|
||||||
* fix build failure with GCC 9
|
* fix build failure with GCC 9
|
||||||
|
* systemd: add user socket unit
|
||||||
|
|
||||||
ver 0.21.7 (2019/04/03)
|
ver 0.21.7 (2019/04/03)
|
||||||
* input
|
* input
|
||||||
|
@ -3,6 +3,12 @@ if systemd_user_unit_dir == ''
|
|||||||
systemd_user_unit_dir = join_paths(get_option('prefix'), 'lib', 'systemd', 'user')
|
systemd_user_unit_dir = join_paths(get_option('prefix'), 'lib', 'systemd', 'user')
|
||||||
endif
|
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(
|
configure_file(
|
||||||
input: 'mpd.service.in',
|
input: 'mpd.service.in',
|
||||||
output: 'mpd.service',
|
output: 'mpd.service',
|
||||||
|
Loading…
Reference in New Issue
Block a user