@ -6,7 +6,7 @@ export const description = "Runs various services needed for development";
exportconstoptions=[
exportconstoptions=[
['--stop',`Stop the ${process.platform} OS services.`],
['--stop',`Stop the ${process.platform} OS services.`],
['--start',`Start the ${process.platform} OS services (the default).`],
['--start',`Start the ${process.platform} OS services (the default).`],
['--noexit',`When used in other commands, don't call process.exit.`],
['--noexit',`When used in other commands, don't call process.exit. Used when calling from other commands.`],
['--os <platform>','Force the process.platform to specific one']
['--os <platform>','Force the process.platform to specific one']
]
]
@ -36,7 +36,7 @@ const linux = (opts) => {
darwin(opts);
darwin(opts);
}else{
}else{
console.error("On Linux you should run redis-server using systemctl or similar. If you really want to use pm2 to manage redis then rerun this command with: --os linux");
console.error("On Linux you should run redis-server using systemctl or similar. If you really want to use pm2 to manage redis then rerun this command with: --os linux");