Add cleanup script to fix any problems arising from restarting the server mid-stream.

This may cause further problems if the user manages to reconnect before the cleanup script has finished, but the server *shouldn't* start listening until after the script is done.
Increment version I guess, I don't really know how versioning works.
This commit is contained in:
knotteye
2019-10-22 18:24:10 -05:00
parent 8cc8083361
commit 61bf54de95
4 changed files with 38 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "satyr",
"version": "0.3.0",
"version": "0.3.1",
"description": "A livestreaming server.",
"license": "AGPL-3.0",
"author": "knotteye",
@ -24,6 +24,7 @@
"mysql": "^2.17.1",
"node-media-server": ">=2.1.3 <3.0.0",
"nunjucks": "^3.2.0",
"recursive-readdir": "^2.2.2",
"socket.io": "^2.3.0",
"toml": "^3.0.0"
},