Update the service file

This commit is contained in:
Kevin Yue 2020-02-20 20:46:43 +08:00
parent 62688a89f0
commit 462ed0fe7c
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,7 @@
<allow own="com.yuezk.qt.GPService"/> <allow own="com.yuezk.qt.GPService"/>
</policy> </policy>
<policy group="network"> <policy context="default">
<allow send_destination="com.yuezk.qt.GPService" <allow send_destination="com.yuezk.qt.GPService"
send_interface="com.yuezk.qt.GPService" send_interface="com.yuezk.qt.GPService"
/> />

View File

@ -1,9 +1,10 @@
[Unit] [Unit]
Description=GlobalProtect openconnect DBus service Description=GlobalProtect openconnect DBus service
After=network.target
Wants=network.target
[Service] [Service]
Type=dbus Type=dbus
BusName=com.yuezk.qt.GPService BusName=com.yuezk.qt.GPService
ExecStart=/usr/local/bin/gpservice ExecStart=/usr/local/bin/gpservice
[Install]
WantedBy=multi-user.target