diff --git a/openshorts/viral-telegram.service b/openshorts/viral-telegram.service index 7532e87..c6e3c8c 100644 --- a/openshorts/viral-telegram.service +++ b/openshorts/viral-telegram.service @@ -12,6 +12,8 @@ ExecStart=/usr/bin/python3 /home/ren/viral/openshorts/telegram_bot.py Restart=always RestartSec=10 Environment=PYTHONUNBUFFERED=1 +Environment=PATH=/home/ren/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +Environment=PYTHONPATH=/home/ren/.local/lib/python3.12/site-packages [Install] WantedBy=multi-user.target