mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Update install
This commit is contained in:
parent
128893eb92
commit
232c1ea0ce
1 changed files with 9 additions and 3 deletions
|
@ -149,13 +149,19 @@ yunohost service add $app --description="Team collaboration communication platfo
|
|||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
ynh_script_progression --message="Starting a MongoDB service..." --weight=2
|
||||
|
||||
# Start a systemd service
|
||||
#ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd
|
||||
systemctl enable mongod && systemctl restart mongod
|
||||
#mongo --eval "printjson(rs.initiate())"
|
||||
mongo --eval "rs.initiate()"
|
||||
mongo --eval "printjson(rs.initiate())"
|
||||
#mongo --eval "rs.initiate()"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="➔ System ➔ startup"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue