Thank you for the idea but I can use "start-many" from a controller wallet already. What I want is to restart the masternode without needing to run a controller wallet at all. e.g. a curl request from local->VPS to the masternode that would start it. If I get the chance I will have a look more into the code and try to see if it's even possible.
i talked to someone about it, their concern was leaving the rpc port open so anyone could use it.
then theoretically you could communicate with yr vps daemon in a standard browser using
http://mojorpcuser:[email protected].x.x:rpcport command
i say theoretically cos i briefly tried it, but my port is closed and i dont have time to mess with it :p
then possible curl command (which i do not grok)
rpcallowip is your friend in this situation. yes, the port gets opened, but unless the request is from a whitelisted IP address, it is ignored irregardless of credentials or the command that is being issued