1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 14:18:15 +00:00

Merge pull request #2367 from realtebo/fix-enabling-ftl

Fix to enable pihole-FTL service before starting it
This commit is contained in:
Mark Drobnak 2018-08-16 16:15:46 -04:00 committed by GitHub
commit 74008d28a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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