1
0
Fork 0
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:
ericgaspar 2021-06-30 22:17:30 +02:00
parent b5302198ac
commit 7c8b0da5b2
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -154,8 +154,9 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
# Start a systemd service # Start a systemd service
#ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd #ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd
systemctl enable mongod && systemctl start mongod systemctl enable mongod && systemctl start mongod
mongo --eval "printjson(rs.initiate())" #mongo --eval "printjson(rs.initiate())"
#mongo --eval 'rs.initiate();' mongo --eval 'rs.initiate();'
sleep 300
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="➔ System ➔ startup" ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="➔ System ➔ startup"
#================================================= #=================================================