Use /usr/local/bin for konata.sh
This commit is contained in:
parent
3da63a7350
commit
56bb909183
@ -31,7 +31,8 @@ echo "Installing application files..."
|
|||||||
install -m644 lighttpd.conf /etc/lighttpd/lighttpd.conf
|
install -m644 lighttpd.conf /etc/lighttpd/lighttpd.conf
|
||||||
mkdir /var/www/konata
|
mkdir /var/www/konata
|
||||||
rand=$RANDOM
|
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..."
|
echo "Requesting Telegram to use our webhook..."
|
||||||
curl -X POST "https://api.telegram.org/bot$token/setWebhook" \
|
curl -X POST "https://api.telegram.org/bot$token/setWebhook" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user