mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
Remove all use of sudoers file (#3477)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
minecraft ALL=(ALL) NOPASSWD:/usr/bin/pkill
|
||||
Reference in New Issue
Block a user