Check that rocketchat installs

This commit is contained in:
Bob Mottram 2018-05-11 14:34:44 +01:00
parent 68f89d655a
commit 3ffb909119
1 changed files with 5 additions and 0 deletions

View File

@ -339,6 +339,11 @@ function install_rocketchat {
rocketchat_create_database
cd "/etc/rocketchat" || exit 46327437
if ! npm install; then
exit 36483563
fi
add_ddns_domain "$ROCKETCHAT_DOMAIN_NAME"
ROCKETCHAT_ONION_HOSTNAME=$(add_onion_service rocketchat 80 "${ROCKETCHAT_ONION_PORT}")