Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exec: function() {
if (isWin) {
logger.info('windows system not supported restart');
} else {
forever.restart('fdserver').on('restart', function() {
logger.info('fds restart successed');
}).on('error', function(err) {
logger.error(err.message);
});
}
}
}