You doesn't need this. You should remove the -f flag when starting the daemon, so it doesn't fork, and let systemd handles PID by itself.