1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

Enable FTL service before starting it

Signed-off-by: Realtebo <mirkotebaldi@yahoo.it>
This commit is contained in:
Realtebo 2018-08-16 17:52:47 +02:00
parent 0b44cb4426
commit 0d1b3cee4f

View File

@ -2483,9 +2483,12 @@ main() {
echo -e " ${INFO} Restarting services..."
# Start services
# Enable FTL
start_service pihole-FTL
# Enable FTL
# Ensure the service is enabled before trying to start it
# Fixes a problem reported on Ubuntu 18.04 where trying to start
# the service before enabling causes installer to exit
enable_service pihole-FTL
start_service pihole-FTL
# Download and compile the aggregated block list
runGravity