This commit is contained in:
Whispering Wind
2024-08-14 11:48:05 +03:30
committed by GitHub
parent c19c116b32
commit 05655c4867

View File

@ -19,7 +19,7 @@ Description=Hysteria Telegram Bot
After=network.target
[Service]
ExecStart=ExecStart=/bin/bash -c 'source /etc/hysteria/hysteria2_venv/bin/activate && /etc/hysteria/hysteria2_venv/bin/python /etc/hysteria/core/scripts/telegrambot/tbot.py'
ExecStart=/bin/bash -c 'source /etc/hysteria/hysteria2_venv/bin/activate && /etc/hysteria/hysteria2_venv/bin/python /etc/hysteria/core/scripts/telegrambot/tbot.py'
WorkingDirectory=/etc/hysteria/core/scripts/telegrambot
Restart=always
User=root