Fixed apt-key issue
Fixed pidfile and fork issue for Debian