add sync option to server start, stop and restart commands