1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

enable lighttpd and dnsmasq via systemd

This commit is contained in:
bcambl 2016-05-14 16:29:56 -06:00
parent 65638973ea
commit 04e375a523

View File

@ -815,9 +815,10 @@ displayFinalMessage
echo -n "::: Restarting services..."
# Start services
if [ -x "$(command -v systemctl)" ]; then
$SUDO systemctl enable dnsmasq
$SUDO systemctl restart dnsmasq
$SUDO systemctl enable lighttpd
$SUDO systemctl start lighttpd
else
$SUDO service dnsmasq restart