console.log('Daemon is not running.');\r
break;\r
\r
+ case 'reconfig':\r
+ console.log('Loading new config..');\r
+ daemon.sendSignal("SIGUSR1");\r
+ break;\r
+\r
+ case 'stats':\r
+ console.log('Writing stats to log file..');\r
+ daemon.sendSignal("SIGUSR2");\r
+ break;\r
\r
+ case 'build':\r
+ require('../client/build.js');\r
+ break;\r
+ \r
default:\r
- console.log('Usage: [-f|start|stop|restart|status]');\r
+ console.log('Usage: [-f|start|stop|restart|status|reconfig|build]');\r
}
\ No newline at end of file