mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Fix
This commit is contained in:
parent
7ba22dbe1e
commit
cd803c84b1
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
[Unit]
|
||||
Description=The Rocket.Chat server
|
||||
Wants=__MONGODB_SERVICENAME__.service
|
||||
#Wants=__MONGODB_SERVICENAME__.service
|
||||
After=network.target remote-fs.target nss-lookup.target nginx.service __MONGODB_SERVICENAME__.service
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -324,12 +324,11 @@ ynh_mongo_remove_db() {
|
|||
#
|
||||
#
|
||||
ynh_install_mongo() {
|
||||
ynh_print_info --message="Installing MongoDB..."
|
||||
ynh_script_progression --message="Installing MongoDB..." --weight=5
|
||||
|
||||
# Define Mongo Service Name
|
||||
if $(dpkg --compare-versions $(cat /etc/debian_version) gt "10.0")
|
||||
then
|
||||
ynh_print_info --message="Installing MongoDB Community Edition..."
|
||||
ynh_install_extra_app_dependencies --repo="$MONGO_CE_REPO" --package="$MONGO_CE_DEPENDENCIES" --key="$MONGO_CE_KEY"
|
||||
MONGODB_SERVICENAME=$MONGO_CE_SERVICENAME
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue