14 lines
416 B
Bash
Executable file
14 lines
416 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
export HOME=/app
|
|
if [ "${ENABLE_SOCAT_TUNNEL}" = "TRUE" ]; then
|
|
socat TCP-LISTEN:${SOCAT_PORT},fork UNIX-CONNECT:/home/nya/.gtk-gnutella/ipc/socket &
|
|
fi
|
|
if [ "${HEADLESS}" = "TRUE" ]; then
|
|
gtk-gnutella --topless --log-stderr /dev/null --log-stdout /dev/null
|
|
else
|
|
echo "nyanya"
|
|
gtk-gnutella --geometry ${DISPLAY_WIDTH}x${DISPLAY_HEIGHT} --log-stderr /dev/null --log-stdout /dev/null
|
|
sleep 2323;
|
|
fi
|