Install systemd service under PREFIX

master
Andre Toerien 7 months ago committed by Adam Honse
parent db517c01af
commit b58b3c0402

@ -588,7 +588,7 @@ contains(QMAKE_PLATFORM, linux) {
icon.files+=qt/org.openrgb.OpenRGB.png
metainfo.path=$$PREFIX/share/metainfo/
metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
systemd_service.path=/etc/systemd/system
systemd_service.path=$$PREFIX/lib/systemd/system/
systemd_service.files+=qt/openrgb.service
INSTALLS += target desktop icon metainfo udev_rules systemd_service
}

@ -43,7 +43,7 @@ fi
%{_datadir}/applications/org.%{name}.%{_name}.desktop
%{_metainfodir}/org.%{name}.%{_name}.metainfo.xml
%{_udevrulesdir}/60-%{name}.rules
/etc/systemd/system/openrgb.service
%{_unitdir}/openrgb.service
%license LICENSE
%doc README.md

@ -3,7 +3,6 @@ Description=OpenRGB SDK Server
After=network.target lm_sensors.service
[Service]
RemainAfterExit=yes
ExecStart=/usr/bin/openrgb --server
Restart=always

Loading…
Cancel
Save