Skip to content

Commit

Permalink
Add missing files for deb package
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Aug 15, 2024
1 parent b688e1e commit 773df99
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions etc/postinst.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

# Only run when systemd is running
[ -d /run/systemd ] || exit 0

systemctl daemon-reload
systemctl enable webhook-go.service
6 changes: 6 additions & 0 deletions etc/prerm.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

# Only run when systemd is running
[ -d /run/systemd ] || exit 0

systemctl disable --now webhook-go.service

0 comments on commit 773df99

Please sign in to comment.