mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-18 11:35:21 -04:00
Add SystemD service file to Linux installation
This commit is contained in:
@@ -577,7 +577,9 @@ contains(QMAKE_PLATFORM, linux) {
|
||||
icon.files+=qt/org.openrgb.OpenRGB.png
|
||||
metainfo.path=$$PREFIX/share/metainfo/
|
||||
metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
|
||||
INSTALLS += target desktop icon metainfo udev_rules
|
||||
systemd_service.path=/etc/systemd/system
|
||||
systemd_service.files+=qt/openrgb.service
|
||||
INSTALLS += target desktop icon metainfo udev_rules systemd_service
|
||||
}
|
||||
|
||||
#-----------------------------------------------------------------------------------------------#
|
||||
|
||||
12
qt/openrgb.service
Normal file
12
qt/openrgb.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=OpenRGB SDK Server
|
||||
After=network.target lm_sensors.service
|
||||
|
||||
[Service]
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/openrgb --server
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user