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" \