[daemon] signal handling into daemon
[config] pid-path to pid with complete filename
[daemon] fix pid handling with invalid pid stored in pidfile