fooock / bitcoind-ansible

Install Bitcoin Core using Ansible
https://galaxy.ansible.com/fooock/bitcoind
1 stars 1 forks source link

Feature request: Specify location of PIDFile #19

Open hax0rbana-adam opened 8 months ago

hax0rbana-adam commented 8 months ago

This role works on Debian 12, however the location of the PIDFile is /var/run/bitcoind/main/bitcoind.pid instead of /run/bitcoind/main/bitcoind.pid. I am currently changing this after running this role using ansible.builtin.lineinfile and restarting the service with daemon-reload, however it would be preferable to have the template for the .service file allow setting a variable to specify the location.

As with #18, I feel it should default to /run/bitcoind/main/bitcoind.pid to maintain backward compatibility.