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
9e38d2fa3b
commit
6ff3dbb167
1 changed files with 4 additions and 4 deletions
|
@ -151,11 +151,11 @@ yunohost service add $app --description="Team collaboration communication platfo
|
|||
#=================================================
|
||||
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
|
||||
# Start a mongod service
|
||||
ynh_exec_warn_less systemctl enable mongod
|
||||
ynh_systemd_action --service_name=mongod --action=restart
|
||||
|
||||
#mongo --eval "printjson(rs.initiate())"
|
||||
#mongo --eval "rs.initiate()"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue