Revert "Revert "fix: improve the dbus security""

This reverts commit ffa99d3783.
This commit is contained in:
Kevin Yue
2022-05-26 11:56:06 +08:00
parent d5cd90373b
commit 177da7f3a2
6 changed files with 35 additions and 20 deletions

2
debian/rules vendored
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