setup.sh aktualisiert
This commit is contained in:
parent
98408bed1d
commit
82cb07811c
2
setup.sh
2
setup.sh
|
@ -67,4 +67,4 @@ chmod +x start_bot.sh
|
||||||
echo -e "Creating autostart script..."
|
echo -e "Creating autostart script..."
|
||||||
echo -e "[Unit]\nDescription=Telegram Support Bot\n\n[Service]\nExecStart=$(pwd)/start_bot.sh\n\n[Install]\nWantedBy=default.target" > telegram_bot.service
|
echo -e "[Unit]\nDescription=Telegram Support Bot\n\n[Service]\nExecStart=$(pwd)/start_bot.sh\n\n[Install]\nWantedBy=default.target" > telegram_bot.service
|
||||||
sudo mv telegram_bot.service /etc/systemd/system/
|
sudo mv telegram_bot.service /etc/systemd/system/
|
||||||
sudo systemctl enable telegram_bot
|
sudo systemctl enable telegram_bot
|
Loading…
Reference in New Issue