Files
cloudron-box/setup/stop.sh
T
Johannes Zellner 14983861c0 Do not wait for cloudron.target to stop
This will allow the box code to respond properly to the retire request
2016-06-30 10:52:50 +02:00

9 lines
190 B
Bash
Executable File

#!/bin/bash
set -eu -o pipefail
echo "Stopping cloudron"
# we do not wait until all services stop, so we can still respond to the retire request
systemctl stop --no-block cloudron.target