15 lines
280 B
SYSTEMD
15 lines
280 B
SYSTEMD
|
[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
|