mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
Add tmpfiles for initializing /etc/openrgb for systemd service
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
1
qt/openrgb.conf
Normal file
1
qt/openrgb.conf
Normal file
@@ -0,0 +1 @@
|
||||
d /etc/openrgb 0755 root root - -
|
||||
Reference in New Issue
Block a user