forked from tgstation/tgstation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds config option for hub, removes hub.dm, adds toggle hub admin verb
- Loading branch information
1 parent
fcdbf37
commit 44f5632
Showing
8 changed files
with
47 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
@echo off | ||
@title SERVER WATCHDOG | ||
call config.bat | ||
call bin\findbyond.bat | ||
|
||
echo Welcome to the start server watch dog script, This will start the server and make sure it stays running. To continue, press any key or wait 60 seconds. | ||
timeout 60 | ||
|
||
if not exist gamedata\data\logs\runtimes mkdir gamedata\data\logs\runtimes\ | ||
@python bot\nudge.py "WATCHDOG" "Watch Dog online. Starting server" >nul 2>nul | ||
|
||
:START | ||
call bin\getcurdate.bat | ||
cls | ||
echo Watch Dog. | ||
echo Server Running. Watching for server exits. | ||
start /WAIT /ABOVENORMAL "" dreamdaemon.exe gamefolder\%PROJECTNAME%.dmb -port %PORT% -trusted -close -log "data\logs\runtimes\runtime-%CUR_DATE%.log" | ||
cls | ||
echo Watch Dog. | ||
echo Server exit detected. Restarting in 60 seconds. | ||
@python bot\nudge.py "WATCHDOG" "Server exit detected. Restarting server in 60 seconds." >nul 2>nul | ||
timeout 60 | ||
|
||
goto :START | ||
@echo off | ||
@title SERVER WATCHDOG | ||
call config.bat | ||
call bin\findbyond.bat | ||
|
||
echo Welcome to the start server watch dog script, This will start the server and make sure it stays running. To continue, press any key or wait 60 seconds. | ||
timeout 60 | ||
|
||
if not exist gamedata\data\logs\runtimes mkdir gamedata\data\logs\runtimes\ | ||
@python bot\nudge.py "WATCHDOG" "Watch Dog online. Starting server" >nul 2>nul | ||
|
||
:START | ||
call bin\getcurdate.bat | ||
cls | ||
echo Watch Dog. | ||
echo Server Running. Watching for server exits. | ||
start /WAIT /ABOVENORMAL "" dreamdaemon.exe gamefolder\%PROJECTNAME%.dmb -port %PORT% -trusted -public -close -log "data\logs\runtimes\runtime-%CUR_DATE%.log" | ||
cls | ||
echo Watch Dog. | ||
echo Server exit detected. Restarting in 60 seconds. | ||
@python bot\nudge.py "WATCHDOG" "Server exit detected. Restarting server in 60 seconds." >nul 2>nul | ||
timeout 60 | ||
|
||
goto :START |