diff --git a/systemd/telegram.bot.news.service b/systemd/telegram.bot.news.service index 55fc943..14f306e 100644 --- a/systemd/telegram.bot.news.service +++ b/systemd/telegram.bot.news.service @@ -3,4 +3,5 @@ Description=Telegram Bot for News [Service] Type=oneshot -ExecStart=/opt/TelegramNewsBot/virt_env/bin/python /opt/TelegramNewsBot/main.py \ No newline at end of file +WorkingDirectory=/opt/TelegramNewsBot/ +ExecStart=virt_env/bin/python main.py \ No newline at end of file