To simplify things, I took the system service out of the mix and simple ran the pihole-FTL
like this:
% sudo -u pihole /usr/bin/pihole-FTL -f
[2024-07-14 08:12:09.341 3449M] Using log file /run/log/pihole-ftl/pihole-FTL.log
[2024-07-14 08:12:09.341 3449M] ########## FTL started on pihole! ##########
[2024-07-14 08:12:09.341 3449M] FTL branch: master
...
[2024-07-14 08:12:09.372 3449M] Listening on port 4711 for incoming IPv6 telnet connections
[2024-07-14 08:12:09.372 3449M] Listening on port 4711 for incoming socket telnet connections
[2024-07-14 08:12:09.373 3449M] INFO: FTL is running as user pihole (UID 973)
I tried sending the signal from another terminal but found that no output changed from pihole-FTL nor did the date-time stamp change on /etc/pihole/pihole.db
... what am I missing?
# kill -HUP $(pidof pihole-FTL)
# echo $?
0
If I drop the -HUP argument, and simply run kill
the daemon does get terminated as expected but again, the date-time stamp does not change.
# kill $(pidof pihole-FTL)