adding lockdir to be able to let the cronjob check whether the webserver has to be started