enable lighttpd and dnsmasq via systemd
This commit is contained in:
@ -815,9 +815,10 @@ displayFinalMessage
|
|||||||
|
|
||||||
echo -n "::: Restarting services..."
|
echo -n "::: Restarting services..."
|
||||||
# Start services
|
# Start services
|
||||||
|
|
||||||
if [ -x "$(command -v systemctl)" ]; then
|
if [ -x "$(command -v systemctl)" ]; then
|
||||||
|
$SUDO systemctl enable dnsmasq
|
||||||
$SUDO systemctl restart dnsmasq
|
$SUDO systemctl restart dnsmasq
|
||||||
|
$SUDO systemctl enable lighttpd
|
||||||
$SUDO systemctl start lighttpd
|
$SUDO systemctl start lighttpd
|
||||||
else
|
else
|
||||||
$SUDO service dnsmasq restart
|
$SUDO service dnsmasq restart
|
||||||
|
Reference in New Issue
Block a user