Updating Debian package to use pidfile

Fixes #42