I hereby claim:
- I am ngld on github.
- I am ngld (https://keybase.io/ngld) on keybase.
- I have a public key ASCS4BVAMNBHXB3l03_Pwji-mbS2h4KmYWv_laEdgN2OcQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf8"> | |
<title>Simple GP Tracker</title> | |
</head> | |
<body> | |
<div id="display"></div> | |
</body> | |
<script type="text/javascript" src="https://quisquous.github.io/cactbot/resources/common.js"></script> |
This FAQ is outdated. Please go to the new FAQ instead.
# Usage: | |
# Save this file as restarter.py in the same directory as the fs2 executable, install Flask and run "FLASK_APP=restarter.py flask run -p 8080 --no-reload --without-threads". | |
# Afterwards, either open the port or proxy it through a web server (like nginx) to make the web interface accessible. | |
# The script will write the standalone's stdout and stderr to out.log; make sure it has write permissions for that file. | |
import subprocess | |
from time import sleep | |
from threading import Thread | |
from flask import Flask, redirect |