mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Add dbus&systemd files
This commit is contained in:
		
							
								
								
									
										18
									
								
								GPService/dbus/com.yuezk.qt.GPService.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								GPService/dbus/com.yuezk.qt.GPService.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <!DOCTYPE busconfig PUBLIC | ||||
| "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | ||||
| "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||||
| <busconfig> | ||||
|         <policy user="root"> | ||||
|                 <allow own="com.yuezk.qt.GPService"/> | ||||
|         </policy> | ||||
|  | ||||
|         <policy group="network"> | ||||
|                 <allow send_destination="com.yuezk.qt.GPService" | ||||
|                         send_interface="com.yuezk.qt.GPService" | ||||
|                         /> | ||||
|                 <allow send_destination="com.yuezk.qt.GPService" | ||||
|                         send_interface="org.freedesktop.DBus.Introspectable" | ||||
|                         /> | ||||
|         </policy> | ||||
| </busconfig> | ||||
							
								
								
									
										5
									
								
								GPService/dbus/com.yuezk.qt.GPService.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								GPService/dbus/com.yuezk.qt.GPService.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| [D-BUS Service] | ||||
| Name=com.yuezk.qt.GPService | ||||
| Exec=/usr/local/bin/gpservice | ||||
| User=root | ||||
| SystemdService=gpservice.service | ||||
		Reference in New Issue
	
	Block a user