configure 159 B

1234567
  1. #!/usr/bin/env bash
  2. set -e
  3. snapctl get server | $SNAP/bin/update-settings "${SNAP_DATA}/settings.conf" update
  4. snapctl restart "${SNAP_NAME}.server"
  5. exit $?