Revert "fix: improve the dbus security"

This reverts commit ad178fe56c.
This commit is contained in:
Kevin Yue
2022-05-23 22:20:03 +08:00
parent ad178fe56c
commit 4940830885
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
post_install() {
# Update the the dbus user to logname
sed -i "/LOGNAME/,+1s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
sed -i "/LOGNAME/N;s/user=\".*\"/user=\"$(logname)\"/" /usr/share/dbus-1/system.d/com.yuezk.qt.GPService.conf
systemctl enable gpservice.service
systemctl restart gpservice.service