Fixing #21 by using sudo instead of su

This commit is contained in:
Geoff Bourne 2015-03-28 13:10:39 -05:00
parent 6f62af7d85
commit 8594054047

View File

@ -3,4 +3,6 @@
set -e
usermod --uid $UID minecraft
chown -R minecraft /data /start-minecraft
exec su -s /bin/bash -c /start-minecraft minecraft
exec sudo -E -u minecraft /start-minecraft