Enabled support for debian 10
This commit is contained in:
parent
711817f2a6
commit
9f2fb22ae9
1 changed files with 3 additions and 3 deletions
|
@ -9,15 +9,15 @@ case "$os" in
|
|||
;;
|
||||
debian)
|
||||
case "$os_version" in
|
||||
[1-7]*)
|
||||
[2-7]*)
|
||||
restart="/etc/init.d/nginx restart"
|
||||
echo "Unsupported version $os_version of $os." >&2
|
||||
exit 1
|
||||
;;
|
||||
8*)
|
||||
[8-9]*)
|
||||
restart="systemctl restart nginx"
|
||||
;;
|
||||
9*)
|
||||
10*)
|
||||
restart="systemctl restart nginx"
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in a new issue