mediacore-hid/lib/systemd/system/mediacore-hid.service.in
2023-01-23 19:18:28 +01:00

15 lines
422 B
SYSTEMD

[Unit]
Description=Mediacore HID interface server
After=dbus.service
[Service]
Type=dbus
ExecStart=@SBIN_DIR@/mediacore-hid-server
BusName=nl.miqra.MediaCore.Hid
# After startup, signal the hid unit to start glowing blue
ExecStartPost=dbus-send --system --dest=nl.miqra.MediaCore.Hid --type=method_call /nl/miqra/MediaCore/Hid nl.miqra.MediaCore.Hid.SetColor byte:0 byte:0 byte:128
[Install]
WantedBy=multi-user.target