reworked to docker and selenoid

This commit is contained in:
2022-08-24 00:13:35 +03:00
parent 6c8b27963b
commit aeb9582ba1
7 changed files with 49 additions and 20 deletions

View File

@@ -6,6 +6,6 @@ After=network-online.target
Restart=always
WorkingDirectory=/opt/mosgortrans
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
ExecStop=/usr/local/bin/docker-compose -f /opt/mosgortrans/docker-compose.yml down
[Install]
WantedBy=multi-user.target

View File

@@ -1,7 +0,0 @@
#! /bin/bash
set -e
echo "shutting down the bot"
killall firefox
killall python