svc has some minor bugs
1. It's no t possible to correctly detect whether service is registered running, according to man `svc status xxx` should give error 2, but it gives error 0 meaning that the process exists and is running.
2. Logging is not finalized. No way to log to syslog, no way to roate log files when logging to files.