diff options
Diffstat (limited to 'packaging/dispatch-systemd.install')
| -rw-r--r-- | packaging/dispatch-systemd.install | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/packaging/dispatch-systemd.install b/packaging/dispatch-systemd.install deleted file mode 100644 index 5ebf261..0000000 --- a/packaging/dispatch-systemd.install +++ /dev/null @@ -1,25 +0,0 @@ -post_install() { - echo "" - echo "==> Dispatch systemd system unit templates installed." - echo " These run as the user named in the instance (replace <user>)." - echo " Enable and start (e.g. for user 'tradam'):" - echo " sudo systemctl daemon-reload" - echo " sudo systemctl enable --now dispatch-api@<user> dispatch-frontend@<user>" - echo "" -} - -post_upgrade() { - echo "" - echo "==> Dispatch systemd units upgraded." - echo " Reload and restart your instances (replace <user>):" - echo " sudo systemctl daemon-reload" - echo " sudo systemctl restart dispatch-api@<user> dispatch-frontend@<user>" - echo "" -} - -pre_remove() { - echo "" - echo "==> Stop dispatch services before removal (replace <user>):" - echo " sudo systemctl disable --now dispatch-api@<user> dispatch-frontend@<user>" - echo "" -} |
