add queue tests

This commit is contained in:
Dmitry Afanasyev
2023-09-22 02:39:17 +03:00
committed by GitHub
parent 010a228380
commit 1ecf95631d
16 changed files with 212 additions and 86 deletions

View File

@@ -1,11 +1,11 @@
[Unit]
Description=Healthcheck bot
Description=Chat-gpt bot
Wants=network-online.target
After=network-online.target
[Service]
Restart=always
WorkingDirectory=/opt/healthcheck_bot
ExecStart=/usr/local/bin/docker-compose -f /opt/healthcheck_bot/docker-compose.yml up
ExecStop=/usr/local/bin/docker-compose -f /opt/healthcheck_bot/docker-compose.yml down
WorkingDirectory=/opt/chat_gpt_bot
ExecStart=bash -c "docker compose -f /opt/chat_gpt_bot/docker-compose.yml up"
ExecStop=bash -c "docker compose -f /opt/chat_gpt_bot/docker-compose.yml down"
[Install]
WantedBy=multi-user.target