I would like to shut down the nzedb server remotely via SSH, as its on a dumb UPS with lots of uptime but no interfacing (just extends certain death). I have nzedb installed on ubuntu server 13.10 and can easily get the system to power down over SSH when another system on a smartUPS shutdown is triggered. My question is how can I stop nzedb cleanly first? The config is in the GUI now. Any help is appreciated.