When the system restarts after being incorectly shut down a PID file is left in the data directory which will stop the service re-starting.
How do you get the operating system to delete this file before attempting to restart the service?
thanks
Richard