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 }