Enable FTL service before starting it

Signed-off-by: Realtebo <mirkotebaldi@yahoo.it>
pull/2367/head
Realtebo 6 years ago
parent 0b44cb4426
commit 0d1b3cee4f

@ -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

Loading…
Cancel
Save