diff --git a/meson.build b/meson.build index e66bdc2..361e019 100644 --- a/meson.build +++ b/meson.build @@ -302,7 +302,7 @@ subdir('scheds') systemd = dependency('systemd', required: get_option('systemd')) if systemd.found() - subdir('services') + subdir('services/systemd') endif openrc = dependency('openrc', required: get_option('openrc')) diff --git a/services/journald@sched-ext.conf b/services/systemd/journald@sched-ext.conf similarity index 100% rename from services/journald@sched-ext.conf rename to services/systemd/journald@sched-ext.conf diff --git a/services/meson.build b/services/systemd/meson.build similarity index 90% rename from services/meson.build rename to services/systemd/meson.build index d2815ac..cf05225 100644 --- a/services/meson.build +++ b/services/systemd/meson.build @@ -8,4 +8,4 @@ install_data('scx.service', install_dir: systemd_system_unit_dir) install_data('journald@sched-ext.conf', install_dir: '/etc/systemd') # Install the 'scx' file to the '/etc/default' directory -install_data('scx', install_dir: '/etc/default') +install_data('../scx', install_dir: '/etc/default') diff --git a/services/scx.service b/services/systemd/scx.service similarity index 100% rename from services/scx.service rename to services/systemd/scx.service