typo
This commit is contained in:
@@ -38,7 +38,7 @@ elif [[ "${service}" == "box" ]]; then
|
|||||||
readonly ubuntu_version=$(lsb_release -rs)
|
readonly ubuntu_version=$(lsb_release -rs)
|
||||||
if [[ "${ubuntu_version}" == "18.04" ]]; then
|
if [[ "${ubuntu_version}" == "18.04" ]]; then
|
||||||
pid=$(systemctl show box -p MainPID | sed 's/MainPID=//g')
|
pid=$(systemctl show box -p MainPID | sed 's/MainPID=//g')
|
||||||
kill -HUP $MAINPID
|
kill -HUP $pid
|
||||||
else
|
else
|
||||||
systemctl reload --no-block box
|
systemctl reload --no-block box
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user