Make sure the pid file directory is created. Otherwise the service cannot start with systemd.