1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +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..." echo -e " ${INFO} Restarting services..."
# Start services # Start services
# Enable FTL # Enable FTL
start_service pihole-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 enable_service pihole-FTL
start_service pihole-FTL
# Download and compile the aggregated block list # Download and compile the aggregated block list
runGravity runGravity