Remove all use of sudoers file (#3477)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2025-06-01 10:04:37 -05:00
1 parent 3616847e8e
commit 85648d5916
5 files changed
+6 -11

No files matched your search

+2 -5
View File
@@ -6,8 +6,5 @@ if isTrue "${DEBUG_AUTOSTOP}"; then
fi
logAutostopAction "Stopping Java process"
if isTrue "${AUTOSTOP_PKILL_USE_SUDO:-false}"; then
sudo pkill -f --signal SIGTERM mc-server-runner
else
pkill -f --signal SIGTERM mc-server-runner
fi
pkill -f --signal SIGTERM mc-server-runner