mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-26 03:20:24 +00:00
9b5e8da8e3
- add ability to start loader at system start as a service - add ability to automatically launch on DBUS call whenever third-party calls the interface ref: "Example 7. DBus services" https://www.freedesktop.org/software/systemd/man/256/systemd.service.html
15 lines
703 B
Meson
15 lines
703 B
Meson
# Get the directory for systemd system unit files
|
|
systemd_system_unit_dir = systemd.get_variable(pkgconfig : 'systemdsystemunitdir')
|
|
|
|
# Install the 'scx.service' file to the systemd system unit directory
|
|
install_data('scx.service', install_dir: systemd_system_unit_dir)
|
|
|
|
# Install the 'scx_loader.service' file to the systemd system unit directory
|
|
install_data('scx_loader.service', install_dir: systemd_system_unit_dir)
|
|
|
|
# Install the 'org.scx.Loader.service' file to the dbus system services directory
|
|
install_data('org.scx.Loader.service', install_dir: '/usr/share/dbus-1/system-services')
|
|
|
|
# Install the 'scx' file to the '/etc/default' directory
|
|
install_data('../scx', install_dir: '/etc/default')
|