Skip to content

Commit

Permalink
Fix gp-service name
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezk committed Mar 28, 2024
1 parent e602b3b commit e69de98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packaging/binary/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions packaging/pkgbuild/gp.install
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
post_install() {
systemctl --system daemon-reload
systemctl enable gpservice.service
systemctl enable gp-suspend.service
}

post_upgrade() {
post_install
}

post_remove() {
systemctl disable gpservice.service
systemctl disable gp-suspend.service
}

0 comments on commit e69de98

Please sign in to comment.