BlackrazorS2 / HACS200-Research

Group 1B's repository for HACS200
3 stars 0 forks source link

Containers recycling process does not restart containers #6

Open lg4492 opened 2 years ago

lg4492 commented 2 years ago

Sometimes I check in on the containers and they've been recycled correctly without being put back up. It seems the recycling process crashes before it restarts.

lg4492 commented 2 years ago

Running the main.sh script with nohup seems to fix this issue.

lg4492 commented 2 years ago

Issue still crops up. Changed the way we're killing containers: Now we call a shell script from the MITM index.js script that kills the appropriate container.

lg4492 commented 2 years ago

Added a script (check_containers.sh) that runs every 2 minutes, restarting a honeypot if it is down. f105b32