post_install() { echo "" echo "==> Dispatch systemd system unit templates installed." echo " These run as the user named in the instance (replace )." echo " Enable and start (e.g. for user 'tradam'):" echo " sudo systemctl daemon-reload" echo " sudo systemctl enable --now dispatch-api@ dispatch-frontend@" echo "" } post_upgrade() { echo "" echo "==> Dispatch systemd units upgraded." echo " Reload and restart your instances (replace ):" echo " sudo systemctl daemon-reload" echo " sudo systemctl restart dispatch-api@ dispatch-frontend@" echo "" } pre_remove() { echo "" echo "==> Stop dispatch services before removal (replace ):" echo " sudo systemctl disable --now dispatch-api@ dispatch-frontend@" echo "" }