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
7c8b0da5b2
commit
a7afa19f5d
1 changed files with 2 additions and 4 deletions
|
@ -153,10 +153,8 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
|
|||
|
||||
# Start a systemd service
|
||||
#ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd
|
||||
systemctl enable mongod && systemctl start mongod
|
||||
#mongo --eval "printjson(rs.initiate())"
|
||||
mongo --eval 'rs.initiate();'
|
||||
sleep 300
|
||||
systemctl enable mongod.service --quiet && systemctl restart mongod.service
|
||||
mongo --eval "printjson(rs.initiate())"
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="➔ System ➔ startup"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue