dotfiles/.config/systemd/user/telegram-bot-api.service

13 lines
373 B
SYSTEMD
Raw Normal View History

2022-10-21 06:15:28 -04:00
[Unit]
Description=Telegram Bot API server
After=network-online.target
[Service]
Type=simple
2023-03-12 16:09:11 -04:00
EnvironmentFile=$HOME/.config/telegram-bot-api/config.env
2022-10-21 06:15:28 -04:00
WorkingDirectory=~
2023-03-12 16:09:11 -04:00
ExecStart=telegram-bot-api --api-id=${api_id} --api-hash=${api_hash} --local --http-stat-ip-address=${ip} --http-port=${port} --dir=$HOME/.config/telegram-bot-api/
2022-10-21 06:15:28 -04:00
[Install]
WantedBy=multi-user.target