#!/bin/bash

set -u

APP_MAIN="${TRIM_APPDEST}/cmd/main"
if [ -x "$APP_MAIN" ]; then
  "$APP_MAIN" stop || true
  "$APP_MAIN" start
fi
