Add tmpfiles for initializing /etc/openrgb for systemd service

master
Adam Honse 6 months ago
parent b22438d345
commit 269e7c6115

@ -590,7 +590,9 @@ contains(QMAKE_PLATFORM, linux) {
metainfo.files+=qt/org.openrgb.OpenRGB.metainfo.xml
systemd_service.path=$$PREFIX/lib/systemd/system/
systemd_service.files+=qt/openrgb.service
INSTALLS += target desktop icon metainfo udev_rules systemd_service
tmpfiles.path=$$PREFIX/lib/tmpfiles.d/
tmpfiles.files+=qt/openrgb.conf
INSTALLS += target desktop icon metainfo udev_rules systemd_service tmpfiles
}
#-----------------------------------------------------------------------------------------------#

@ -44,6 +44,7 @@ fi
%{_metainfodir}/org.%{name}.%{_name}.metainfo.xml
%{_udevrulesdir}/60-%{name}.rules
%{_unitdir}/openrgb.service
%{_tmpfilesdir}/openrgb.conf
%license LICENSE
%doc README.md

@ -0,0 +1 @@
d /etc/openrgb 0755 root root - -
Loading…
Cancel
Save