mediacore-hid/lib/systemd/system/mediacore-hid.service

15 lines
421 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Mediacore HID interface server
After=dbus.service
[Service]
Type=dbus
2023-01-14 16:52:40 +01:00
ExecStart=/usr/sbin/mediacore-hid-server
BusName=nl.miqra.MediaCore.Hid
2023-01-23 19:18:28 +01:00
# 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