From 56bb90918332d50d094546f0f10e33600ec4ee84 Mon Sep 17 00:00:00 2001 From: Michael De Roover Date: Wed, 7 Apr 2021 15:43:29 +0200 Subject: [PATCH] Use /usr/local/bin for konata.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 72bd929..e51d195 100755 --- a/install.sh +++ b/install.sh @@ -31,7 +31,8 @@ echo "Installing application files..." install -m644 lighttpd.conf /etc/lighttpd/lighttpd.conf mkdir /var/www/konata rand=$RANDOM -install -m755 konata.sh /var/www/konata/$rand.sh +install -m755 konata.sh /usr/local/bin/konata +ln -s /usr/local/bin/konata /var/www/konata/$rand.sh echo "Requesting Telegram to use our webhook..." curl -X POST "https://api.telegram.org/bot$token/setWebhook" \