summaryrefslogtreecommitdiffhomepage
path: root/packaging/dispatch.install
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/dispatch.install')
-rw-r--r--packaging/dispatch.install29
1 files changed, 22 insertions, 7 deletions
diff --git a/packaging/dispatch.install b/packaging/dispatch.install
index 7d1439f..76837f5 100644
--- a/packaging/dispatch.install
+++ b/packaging/dispatch.install
@@ -1,16 +1,31 @@
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 --user enable --now dispatch-api"
+ echo "==> Dispatch (base) has been installed."
+ echo " Application files: /opt/dispatch"
+ echo " Config:"
+ echo " /etc/dispatch/dispatch-api.conf"
+ echo " /etc/dispatch/dispatch-frontend.conf"
+ echo ""
+ echo " Run manually:"
+ echo " dispatch-api # backend (port 18390 by default)"
+ echo " dispatch-frontend # static frontend (port 18391 by default)"
+ echo ""
+ echo " To run as a service, install one of:"
+ echo " pacman -S dispatch-systemd # systemd user services"
+ echo " pacman -S dispatch-s6 # s6 services (Artix)"
+ echo ""
+ echo " For the Electron desktop wrapper:"
+ echo " pacman -S dispatch-electron"
echo ""
}
post_upgrade() {
echo ""
- echo "==> Dispatch has been upgraded."
- echo " You may need to restart the service:"
- echo " systemctl --user restart dispatch-api"
+ echo "==> Dispatch (base) upgraded."
+ echo " If you use dispatch-systemd, restart the units:"
+ echo " systemctl --user restart dispatch-api dispatch-frontend"
+ echo " If you use dispatch-s6, restart the services:"
+ echo " s6-svc -r /run/service/dispatch-api"
+ echo " s6-svc -r /run/service/dispatch-frontend"
echo ""
}