daemonize
daemonize copied to clipboard
Ensure pid file ends with line separator
Add line separator to pid file since systemd shows the warning log:
Failed to parse PID from file foo.pid: Invalid argument