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
59f1d2c593
commit
124ce91003
3 changed files with 8 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
SOURCE_URL=https://releases.rocket.chat/latest/download
|
||||
SOURCE_SUM=c77aeed2a5eda4a3e9dfde8cfb742f32138638a3a44d0e9e38005992fcadb45b
|
||||
SOURCE_URL=https://releases.rocket.chat/${ROCKETCHAT_VERSION}/download
|
||||
SOURCE_SUM= ${ROCKETCHAT_SHASUM}
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=rocket.chat-3.16.0.tgz
|
||||
SOURCE_FILENAME=rocket.chat-${ROCKETCHAT_VERSION}.tgz
|
||||
SOURCE_EXTRACT=true
|
|
@ -4,6 +4,10 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
|
||||
ROCKETCHAT_VERSION=3.16.0
|
||||
ROCKETCHAT_SHASUM=c77aeed2a5eda4a3e9dfde8cfb742f32138638a3a44d0e9e38005992fcadb45b
|
||||
|
||||
nodejs_version=12
|
||||
|
||||
# dependencies used by the app
|
||||
|
|
|
@ -122,7 +122,7 @@ ynh_script_progression --message="Building $app... (this will take some time and
|
|||
|
||||
pushd $final_path/programs/server
|
||||
ynh_use_nodejs
|
||||
npm install -g inherits n
|
||||
#npm install -g inherits n
|
||||
ynh_exec_as $app env $ynh_node_load_PATH npm install
|
||||
|
||||
#export MONGO_URL='mongodb://$db_user:$db_pwdd@host:27017/$db_name'
|
||||
|
@ -159,9 +159,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
|
|||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd #--line_match="HTTP Server listening"
|
||||
ynh_systemd_action --service_name=mongod --action=start --log_path=systemd
|
||||
|
||||
#mongo --eval "printjson(rs.initiate())"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
|
|
Loading…
Add table
Reference in a new issue