You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
450 B

[Unit]
Description=bots main service
After=network.target
Requires=bots-celeryd.service
Requires=bots-bot-worker.service
Requires=bots-periodic-feeds.service
Requires=bots-periodic-bots.service
# Requires=bots-aggregator-client.service
[Service]
Type=simple
User=http
Group=http
WorkingDirectory=/srv/apps/bots
ExecStart=/srv/apps/bots/venv/bin/daphne -u /tmp/bots.sock config.asgi:application
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target