Nemrun is running the updates for my servers just fine, however, it is not killing and restarting the servers even though it appears to think it is:
Quote:
[Fri Sep 7 02:23:43 PDT 2012] :: Cleaning downloads folder of files older than 10 days
[Fri Sep 7 02:23:43 PDT 2012] :: -updatefirst specified, rebooting other servers now that update is ready.
[Fri Sep 7 02:23:43 PDT 2012] :: Killing any other servers.
[Fri Sep 7 02:23:43 PDT 2012] :: Killing shared screens: "tf00,tf01,tf02,tf03,tf04,tf05,tf06,tf07,tf08 ,tf09,tf10,tf11"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf00"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf01"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf02"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf03"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf04"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf05"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf06"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf07"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf08"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf09"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf10"
[Fri Sep 7 02:23:43 PDT 2012] :: Killing screen "tf11"
[Fri Sep 7 02:23:43 PDT 2012] :: Freeing update lock
[Fri Sep 7 02:23:43 PDT 2012] :: Update check complete
[Fri Sep 7 02:23:43 PDT 2012] :: Update daemon mode. Waiting a few seconds and checking again!
|
I am using a python script and it is likely the issue:
PHP Code:
UPDATE_COMMAND = 'screen -d -m -U -S tfupdate ' + \
'./nemrun ' + \
'-nemlog "runlogs/updater_%Y%m%d%H%M%S.log" ' + \
'-cleandownloads 10 ' + \
'-autoupdate ' + \
'-steamdir .. ' + \
'-srvdir . ' + \
'-sharedscreens ' + \
','.join(['{prefix}{}'.format('{:02}'.format(x), prefix=SESSION_PREFIX) for x in range(len(SERVERS))]) + \
' ' + \
'-updatefirst ' + \
'-game tf ' + \
'-updatedaemon'
It appears to read the join statement for the -sharedscreens's correctly as evidenced by the log but it never actually kills any servers.
I am open to ideas.