description "Telegram-bot upstart script"

respawn
respawn limit 15 5

start on runlevel [2345]
stop on shutdown

setuid yourusername
exec /bin/sh telegrambotpath/launch.sh