frontend: create pids/ and log/ directory before start