mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-06-27 12:34:17 +00:00
With autopause, provide option to start knockd without sudo
This commit is contained in:
@@ -46,3 +46,4 @@ bash /build/ol/install-gosu.sh
|
||||
curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/download/0.8.1/knock-0.8.1-$TARGET.tar.gz
|
||||
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
|
||||
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
|
||||
setcap cap_net_raw=ep /usr/local/sbin/knockd
|
||||
|
||||
Reference in New Issue
Block a user