mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Fix gp-service name
This commit is contained in:
		| @@ -23,10 +23,10 @@ install: | ||||
|  | ||||
| 	# Install the service | ||||
| 	if [ $(INCLUDE_SYSTEMD) -eq 1 ]; then \ | ||||
| 		install -Dm644 artifacts/usr/lib/systemd/system/gpgui.service $(DESTDIR)/usr/lib/systemd/system/gpgui.service; \ | ||||
| 		install -Dm644 artifacts/usr/lib/systemd/system/gp-suspend.service $(DESTDIR)/usr/lib/systemd/system/gp-suspend.service; \ | ||||
| 		if [ $(ENABLE_SERVICE) -eq 1 ]; then \ | ||||
| 			systemctl --system daemon-reload; \ | ||||
| 			systemctl enable gpgui.service; \ | ||||
| 			systemctl enable gp-suspend.service; \ | ||||
| 		fi; \ | ||||
| 	fi | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| post_install() { | ||||
|     systemctl --system daemon-reload | ||||
|     systemctl enable gpservice.service | ||||
|     systemctl enable gp-suspend.service | ||||
| } | ||||
|  | ||||
| post_upgrade() { | ||||
| @@ -8,5 +8,5 @@ post_upgrade() { | ||||
| } | ||||
|  | ||||
| post_remove() { | ||||
|     systemctl disable gpservice.service | ||||
|     systemctl disable gp-suspend.service | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user