fix: improve the dbus security

This commit is contained in:
Kevin Yue committed 2022-05-23 21:24:22 +08:00
1 parent 8fe717d844
commit 829298bb84
6 files changed
+35 -20

No files matched your search

+2
View File
@@ -10,4 +10,6 @@ export DEBIAN_PACKAGE=1
%:
dh $@
override_dh_installsystemd:
# Update the the dbus user to logname
sed -i "/LOGNAME/N;s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
dh_installsystemd gpservice.service