summaryrefslogtreecommitdiffhomepage
path: root/packaging/dispatch.install
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/dispatch.install')
-rw-r--r--packaging/dispatch.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/packaging/dispatch.install b/packaging/dispatch.install
new file mode 100644
index 0000000..e6db694
--- /dev/null
+++ b/packaging/dispatch.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo ""
+ echo "==> Dispatch has been installed."
+ echo " Edit /etc/dispatch/dispatch-api.conf to configure the API."
+ echo " Then enable and start the service:"
+ echo " systemctl enable --now dispatch-api"
+ echo ""
+}
+
+post_upgrade() {
+ echo ""
+ echo "==> Dispatch has been upgraded."
+ echo " You may need to restart the service:"
+ echo " systemctl restart dispatch-api"
+ echo ""
+}