telegram_bots/_systemd/bots-periodic-bots.service

14 lines
278 B
SYSTEMD
Raw Normal View History

2019-11-25 19:37:01 +00:00
[Unit]
Description=bots telegram bots service
After=network.target
[Service]
Type=simple
User=http
Group=http
WorkingDirectory=/srv/apps/bots
ExecStart=/srv/apps/bots/venv/bin/python /srv/apps/bots/manage.py periodic_bots
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target