fix config_dir default for Debians

Change-Id: I487c9f81ede484bcfd66ba5a89af1ce0540a2ae5
set mode and owner for source_dir

Change-Id: I73dc5cdb93bb129db83b3bf4e4a38b87f580fb9e
fixed the pid_file path for debian

Change-Id: Ia7d04c787c6bca87a07a3b831c56e74d13d47304