For example, put a check in startServer to see if pgrep MarkLogic returns anything. I’d suggest the start command to fail if there’s already a MarkLogic instance running, rather than automatically shutting down the currently running instance. (But I might be convinced otherwise.)
For example, put a check in
startServerto see ifpgrep MarkLogicreturns anything. I’d suggest thestartcommand to fail if there’s already a MarkLogic instance running, rather than automatically shutting down the currently running instance. (But I might be convinced otherwise.)