Files
docker-minecraft-server/files/auto/stop.sh
2025-06-01 10:04:37 -05:00

11 lines
163 B
Bash

#!/bin/bash
. /start-utils
if isTrue "${DEBUG_AUTOSTOP}"; then
set -x
fi
logAutostopAction "Stopping Java process"
pkill -f --signal SIGTERM mc-server-runner