mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-29 14:16:26 -04:00
Fix gp-service name
This commit is contained in:
parent
e602b3b018
commit
e69de98884
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user