I have the same issue. However this is a fresh install:
sudo service lighttpd status
[ ok ] lighttpd is running.
sudo service dnsmasq status
[ ok ] Checking DNS forwarder and DHCP server: dnsmasq[....] (running).
sudo service pihole-FTL status
status: Unknown job: pihole-FTL
Raspbian.
Seems like a simple: "sudo service pihole-FTL start" did the trick.
My question is - why was it not enabled on boot-up? I have changed the pi-hole webservice to host on :81 instead of :80. Might that have affected the start of pihole-FTL?
No, FTL is entirely independent from all the web frontend stuff.
I'm still wondering why you have seen
sudo service pihole-FTL status
status: Unknown job: pihole-FTL
pihole-FTL should be started at system start, but it seems like there is something fishy going on on your system. Do you have seen any indications of why it fails to start automatically (grep through your system's logs)?
pi@noads:~ $ stat /sbin/init File: ‘/sbin/init’ -> ‘/lib/systemd/systemd’
The function "status" does not exist in the init.d script:
But on upstart systems, the bash command "status" does exist as an equivalent of "service ... status".
The function call "status" in the init.d script is a bit confusing if on an upstart system.
I am sure the pihole-FTL daemon was started as I have Pi-Hole running on upstart as well:
xbian@monmc ~ $ sudo service pihole-FTL status status: Unknown job: pihole-FTL
I did a pihole repair, rebooted the system and ended up with not being able to access port 81 for the pihole admin page. When I then modified the lighttpd conf file and restarted the service I could access it again and pihole-FTL was down.
No pihole-FTL process.
sudo service pihole-FTL status
status: Unknown job: pihole-FTL
and nothing is listening on port 4711, nothing named "pihole" is listening either.
If your init system is upstart, the install script doesnt tell upstart to have the pihole-FTL daemon start at boot.
I had to do below one to tell upstart to have this daemon start at boot:
sudo update-rc.d pihole-FTL defaults
After a reboot, you can check if pihole-FTL is running by:
Shall we add this to the installer to be done automatically? How to detect if we should do it? Always if update-rc.d exists or some finer detection mechanism?