If the daemon is started with /etc/init.d/bitcoind start, the PID file is created. When the daemon crashes or will be shut down via the cli, the PID file is removed. The subsequent try to start the daemon again via the init script fails with the message that the daemon is already running. Trying to stop the daemon via the init script fails, too, saying the daemon isn't running. The init script tries to lookup the PID and fails because of the missing PID file. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/bitcoind start 2. bitcoin-cli --rpcpassword=<...> stop or kill the daemon manually 3. /etc/init.d/bitcoind start or /etc/init.d/bitcoind stop Actual Results: After otherwise ending the daemon the init script doesn't work to start or (try to) stop the daemon. Expected Results: On "/etc/init.d/bitcoind stop" the init script should clean up everything it uses to assume the daemon is running also in case it cannot find and stop the daemon because it was crashed or stopped otherwise.