I'm currently hosting my game on a Linux machine and I made a cronjob that auto restarts my Game every day at 7AM,
but It kills all the DreamDaemons that are online at this moment because there is no way to get the PID to kill, so my suggestion is can DreamDaemon automaticly create a .pid file in the folder that the game is hosted in?
ID:100593
Aug 19 2010, 9:45 am
|
|||||||
Redundant
| |||||||
/sbin/start-stop-daemon -d /home/iratu/DragonballShuurajou -p /home/iratu/DragonballShuurajou/DragonballShuurajou.pid -m -b -S -x /usr/local/byond/bin/DreamDaemon -- DreamDaemon /home/iratu/DragonballShuurajou/DragonballShuurajou.dmb 6339 -safe -logself -quiet
I am using this command, did I make an error somewhere? because when I try to run it it does not startup the game. [EDIT] Okay nevermind this, It seems I made a huge mistake -_- Got it running now, Thanks Android Data. |
Try the following command:
This should run the .dmb file located in /home/myuser/byondgame/byondgame.dmb and leave a byondgame.pid file.
You can use the following commands to use the .pid file to interact with the server.
Rebooting:
Shutting down the server:
Forcibly shutting down the server (in case it's frozen up):
Good luck!