We should really use stop_service as it also includes some nice output

Signed-off-by: DL6ER <dl6er@dl6er.de>
pull/2602/head
DL6ER 5 years ago
parent e8dabc71af
commit ec79e86bee
No known key found for this signature in database
GPG Key ID: FB60471F0575164A

@ -2179,9 +2179,7 @@ FTLinstall() {
printf "transferred... "
# Stop pihole-FTL service if available
# Allow failing without tripping set -e as the
# service might not be available (e.g. on first install)
service pihole-FTL stop > /dev/null 2>&1 || true
stop_service pihole-FTL &> /dev/null
# Install the new version with the correct permissions
install -T -m 0755 "${binary}" /usr/bin/pihole-FTL

Loading…
Cancel
Save