From e69de988849bbce9f18f73b089b6d0af57177db8 Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Thu, 28 Mar 2024 21:45:01 +0800 Subject: [PATCH] Fix gp-service name --- packaging/binary/Makefile.in | 4 ++-- packaging/pkgbuild/gp.install | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/binary/Makefile.in b/packaging/binary/Makefile.in index 0aa4812..da9912f 100644 --- a/packaging/binary/Makefile.in +++ b/packaging/binary/Makefile.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 diff --git a/packaging/pkgbuild/gp.install b/packaging/pkgbuild/gp.install index efd4347..5c22f20 100644 --- a/packaging/pkgbuild/gp.install +++ b/packaging/pkgbuild/gp.install @@ -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 }