systemctl "Command not found" when executing pihole -d #1537
In raising this issue, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your issue:
How familiar are you with the codebase?: 1
[FEATURE REQUEST | QUESTION | OTHER]:
Please submit your feature request here, so it is votable by the community. It's also easier for us to track.
[BUG | ISSUE] Expected Behaviour:
[BUG | ISSUE] Actual Behaviour:
Translated: "Command not found"
[BUG | ISSUE] Steps to reproduce:
(Optional) Debug token generated by
This template was created based on the work of
thank you for your answer. Beside of this small issue, pihole works fine on my Bananian. If I can help to make everything compatible, I'd love to help.
Indeed, systemctl is not installed.
The command "systemctl is-active " could be replaced by "service status".
But "service pihole-FTL status" doesn't work, because the function "status()" is missing. It should be implemented, querying a pid file or something, like /etc/init.d/dnsmasq does it for example.