mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-02 18:13:13 +02:00
Update script to restart the dnsmasq service using systemctl(systemd) command instead of service(Upstart)
This commit is contained in:
parent
e01521bbf4
commit
8366e0c85f
1 changed files with 3 additions and 1 deletions
|
@ -38,6 +38,8 @@ else
|
|||
cat "$TEMP_SORTED" > $DNSMASQ_BLOCKHOSTS
|
||||
fi
|
||||
|
||||
service dnsmasq restart
|
||||
echo 'Restarting dnsmasq service...'
|
||||
#Restart the dnsmasq service
|
||||
systemctl restart dnsmasq.service
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue