// Check for requirements such as OS version and nginx install. Throw and exit if requirements not found. #Roadmap: Add ability to satisfy any possible requirements.
// requirements(); // Comment in development and uncomment this line in production. This should check whether the OS is compatible with this version of `up`
requirements(); // Comment in development and uncomment this line in production. This should check whether the OS is compatible with this version of `up`
program
.version('0.1.2')
@ -76,11 +73,3 @@ program.on('--help', function () {
// Parses commands passed to `up` and chooses one of the above commands.
program.parse(process.argv);
try{
nginxReload();
}
catch(e){
console.log("nginx configuration failed! Unable to reload nginx. Check configuration manually!")