scx/services/systemd/scx_loader.service
Vladislav Nepogodin 9b5e8da8e3
scx_loader: Add systemd service and on-DBUS launch
- 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
2024-09-27 23:51:28 +04:00

12 lines
194 B
Desktop File

[Unit]
Description=DBUS on-demand loader of sched-ext schedulers
[Service]
Type=dbus
BusName=org.scx.Loader
ExecStart=/usr/bin/scx_loader
KillSignal=SIGINT
[Install]
WantedBy=graphical.target