|
|
@ -37,7 +37,7 @@ def process_command_srvstart(message, command, adm)
|
|
|
|
return "Refusal: Although I respect your wishes, master, I am not authorized to perform this function for this group."
|
|
|
|
return "Refusal: Although I respect your wishes, master, I am not authorized to perform this function for this group."
|
|
|
|
else
|
|
|
|
else
|
|
|
|
telnet = @conf['telnet']
|
|
|
|
telnet = @conf['telnet']
|
|
|
|
puts `./srvstart #{telnet['host']}`
|
|
|
|
puts `./scripts/srvstart #{telnet['host']}`
|
|
|
|
#return "Starting up the Empyrion service."
|
|
|
|
#return "Starting up the Empyrion service."
|
|
|
|
return "This function is currently broken. An attempt was made, but odds are against the server having actually started.\n\n" +
|
|
|
|
return "This function is currently broken. An attempt was made, but odds are against the server having actually started.\n\n" +
|
|
|
|
"Use /status for more info."
|
|
|
|
"Use /status for more info."
|
|
|
@ -58,7 +58,7 @@ def process_command_srvstop(message, command, adm)
|
|
|
|
return "Refusal: Although I respect your wishes, master, I am not authorized to perform this function for this group."
|
|
|
|
return "Refusal: Although I respect your wishes, master, I am not authorized to perform this function for this group."
|
|
|
|
else
|
|
|
|
else
|
|
|
|
telnet = @conf['telnet']
|
|
|
|
telnet = @conf['telnet']
|
|
|
|
`./srvstop #{telnet['host']} #{telnet['port']} #{telnet['pass']}`
|
|
|
|
`./scripts/srvstop #{telnet['host']} #{telnet['port']} #{telnet['pass']}`
|
|
|
|
return "Affirmation: I am shutting down the Empyrion service."
|
|
|
|
return "Affirmation: I am shutting down the Empyrion service."
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|