telegram_bots/_systemd/bots-periodic-feeds.service

15 lines
280 B
Desktop File

[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_feeds
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target