forked from switnet/quick-jibri-installer
Continue script on user request even when is not advisable.
This commit is contained in:
parent
116c568f44
commit
e96a50e262
|
@ -218,7 +218,6 @@ So you can add a Jibri server on a instance with enough resources.\n"
|
||||||
read -p "> Do you want to disable local jibri service?: (yes or no)"$'\n' -r DISABLE_LOCAL_JIBRI
|
read -p "> Do you want to disable local jibri service?: (yes or no)"$'\n' -r DISABLE_LOCAL_JIBRI
|
||||||
if [ "$DISABLE_LOCAL_JIBRI" = "no" ]; then
|
if [ "$DISABLE_LOCAL_JIBRI" = "no" ]; then
|
||||||
echo "Please keep in mind that we might not support underpowered servers."
|
echo "Please keep in mind that we might not support underpowered servers."
|
||||||
exit
|
|
||||||
elif [ "$DISABLE_LOCAL_JIBRI" = "yes" ]; then
|
elif [ "$DISABLE_LOCAL_JIBRI" = "yes" ]; then
|
||||||
echo "You can add dedicated jibri nodes later, see more at the wiki."
|
echo "You can add dedicated jibri nodes later, see more at the wiki."
|
||||||
fi
|
fi
|
||||||
|
@ -968,9 +967,10 @@ systemctl enable jibri-xorg
|
||||||
systemctl enable jibri-icewm
|
systemctl enable jibri-icewm
|
||||||
restart_services
|
restart_services
|
||||||
if [ "$DISABLE_LOCAL_JIBRI" = "yes" ]; then
|
if [ "$DISABLE_LOCAL_JIBRI" = "yes" ]; then
|
||||||
|
|
||||||
systemctl stop jibri*
|
systemctl stop jibri*
|
||||||
systemctl disable jibri*
|
systemctl disable jibri
|
||||||
|
systemctl disable jibri-xorg
|
||||||
|
systemctl disable jibri-icewm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
enable_letsencrypt
|
enable_letsencrypt
|
||||||
|
|
Loading…
Reference in New Issue