mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
remove -s switch, as it turns out it worked afterall.
This commit is contained in:
parent
3d4bff9414
commit
4941a657bf
3 changed files with 3 additions and 3 deletions
|
@ -181,7 +181,7 @@ function Reload() {
|
||||||
|
|
||||||
if [[ $dnsmasqPid ]]; then
|
if [[ $dnsmasqPid ]]; then
|
||||||
# service already running - reload config
|
# service already running - reload config
|
||||||
$SUDO kill -s HUP "$dnsmasqPid"
|
$SUDO kill -HUP "$dnsmasqPid"
|
||||||
else
|
else
|
||||||
# service not running, start it up
|
# service not running, start it up
|
||||||
$SUDO service dnsmasq start
|
$SUDO service dnsmasq start
|
||||||
|
|
|
@ -194,7 +194,7 @@ function Reload() {
|
||||||
|
|
||||||
if [[ $dnsmasqPid ]]; then
|
if [[ $dnsmasqPid ]]; then
|
||||||
# service already running - reload config
|
# service already running - reload config
|
||||||
$SUDO kill -s HUP "$dnsmasqPid"
|
$SUDO kill -HUP "$dnsmasqPid"
|
||||||
else
|
else
|
||||||
# service not running, start it up
|
# service not running, start it up
|
||||||
$SUDO service dnsmasq start
|
$SUDO service dnsmasq start
|
||||||
|
|
|
@ -320,7 +320,7 @@ function gravity_reload() {
|
||||||
|
|
||||||
if [[ $dnsmasqPid ]]; then
|
if [[ $dnsmasqPid ]]; then
|
||||||
# service already running - reload config
|
# service already running - reload config
|
||||||
$SUDO kill -s HUP "$dnsmasqPid"
|
$SUDO kill -HUP "$dnsmasqPid"
|
||||||
else
|
else
|
||||||
# service not running, start it up
|
# service not running, start it up
|
||||||
$SUDO service dnsmasq start
|
$SUDO service dnsmasq start
|
||||||
|
|
Loading…
Reference in a new issue