Add systemd socket activation files

Notify of jack graph changes
This commit is contained in:
Wim Taymans 2017-08-17 18:59:03 +02:00
parent 61424a4343
commit 29eb58f7a2
13 changed files with 83 additions and 20 deletions

View file

@ -0,0 +1,15 @@
systemd_install_dir = '@0@/systemd/user'.format(get_option('libdir'))
pipewire_systemd_files = [
'pipewire.socket',
]
install_data(pipewire_systemd_files, install_dir : systemd_install_dir)
systemd_config = configuration_data()
systemd_config.set('PW_BINARY', '@0@/pipewire'.format(pipewire_bindir))
configure_file(input : 'pipewire.service.in',
output : 'pipewire.service',
configuration : systemd_config,
install_dir : systemd_install_dir)