mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-23 11:38:16 +00:00
enable lighttpd and dnsmasq via systemd
This commit is contained in:
parent
65638973ea
commit
04e375a523
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue