This repository has been archived on 2024-07-28. You can view files and clone it, but cannot push or open issues or pull requests.
moderator-bot/systemd/telegram-bot-api.service

13 lines
389 B
SYSTEMD
Raw Permalink Normal View History

2023-01-05 05:14:22 -05:00
[Unit]
Description=Telegram Bot API server
After=network-online.target
[Service]
Type=simple
EnvironmentFile=/home/q/.config/telegram-bot-api/config.env
WorkingDirectory=~
ExecStart=/home/q/bin/telegram-bot-api --api-id=${api_id} --api-hash=${api_hash} --local --http-stat-ip-address=${ip} --http-port=${port} --dir=/home/q/.config/telegram-bot-api/
[Install]
WantedBy=multi-user.target