With autopause, provide option to start knockd without sudo

This commit is contained in:
Geoff Bourne
2023-10-08 11:00:14 -05:00
parent ec539a5dd2
commit 6fce520004
6 changed files with 14 additions and 7 deletions
+1
View File
@@ -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