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

@ -2484,8 +2484,11 @@ main() {
# 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