Refactor start_daemon definition
Refactor start_daemon definition

Refactor start_daemon definition, add fpid for fork PID, cast fpid to long

nickolasburr/git-stashd,nickolasburr/git-stashd,nickolasburr/git-stashd