reworked to docker and selenoid

This commit is contained in:
2022-08-24 00:05:34 +03:00
parent 98b5bfe2a6
commit 6c8b27963b
5 changed files with 15 additions and 20 deletions

View File

@@ -5,7 +5,7 @@ After=network-online.target
[Service]
Restart=always
WorkingDirectory=/opt/mosgortrans
ExecStart=/bin/bash /opt/mosgortrans/scripts/start-bot.sh
ExecStop=/bin/bash /opt/mosgortrans/scripts/stop-bot.sh
ExecStart=/usr/local/bin/docker-compose -f /opt/mosgortrans/docker-compose.yml up
ExecStop=/usr/local/bin/docker-compose -f /opt/mosgortrans/docker-compose.yml down -v
[Install]
WantedBy=multi-user.target