Skip to content

Only try to create log/PID dirs if the server is starting.

Marek Szuba requested to merge github/fork/nicklangridge/master into master

Created by: nicklangridge

Description

Only try to create log/PID dirs if the server is starting. The server control script may be used for other purposes than starting the server,

Use case

e.g. the REST installer uses the server control script to generate an init script, at which time we should not create these dirs.

Benefits

The installer works properly

Possible Drawbacks

none

Testing

Tested in my sandbox

Changelog

Server log/PID dirs now only created on server start operations

Merge request reports