I'm trying to install pi-hole on my Fedora 27 server (headless). I've had to make some adjustments, namely in lighttpd.conf, changing the port to 81, as Apache is already running on port 80.
systemctl status shows everything running, but when I specifically check for pihole-FTL, it shows that it was active, but exited, with some errors indicating missing files and permissions. I've tried running pihole -r, as well as the basic script again, choosing update to retain settings.
Please follow the below template, it will help us to help you!
piHole-FTL should run after install
piHole-FTL is not running
[root@galactica lighttpd]# systemctl status pihole-FTL.service
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/rc.d/init.d/pihole-FTL; generated; vendor preset: disabled)
Active: active (exited) since Wed 2019-04-10 14:03:32 EDT; 12s ago
Process: 5228 ExecStop=/etc/rc.d/init.d/pihole-FTL stop (code=exited, status=0/SUCCESS)
Process: 5588 ExecStart=/etc/rc.d/init.d/pihole-FTL start (code=exited, status=0/SUCCESS)
Apr 10 14:03:32 galactica.starfleet.org systemd: Starting LSB: pihole-FTL daemon...
Apr 10 14:03:32 galactica.starfleet.org pihole-FTL: Not running
Apr 10 14:03:32 galactica.starfleet.org pihole-FTL: /etc/rc.d/init.d/pihole-FTL: line 4
Apr 10 14:03:32 galactica.starfleet.org su: (to pihole) root on none
Apr 10 14:03:32 galactica.starfleet.org pihole-FTL: dnsmasq: cannot open or create leas
Apr 10 14:03:32 galactica.starfleet.org systemd: Started LSB: pihole-FTL daemon.