1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
ericgaspar 2020-12-23 13:31:51 +01:00
parent 950ba2dfec
commit 922d703669
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 8 additions and 6 deletions

View file

@ -13,7 +13,7 @@
"name": "eric_G"
},
"requirements": {
"yunohost": ">= 4.0.8"
"yunohost": ">= 3.8.1"
},
"multi_instance": true,
"services": [

View file

@ -7,7 +7,7 @@
# dependencies used by the app
pkg_dependencies="postgresql postgresql-contrib apt-transport-https"
nodejs_version=13
nodejs_version=14
#=================================================
# PERSONAL HELPERS

View file

@ -114,7 +114,8 @@ ynh_systemd_action --service_name=nginx --action=reload
ynh_script_progression --message="Starting a systemd service..." --weight=6
# Start a systemd service
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
sleep 120
#=================================================
# END OF SCRIPT

View file

@ -180,7 +180,7 @@ yunohost service add $app --description="Collaborative editor." --log="/var/log/
ynh_script_progression --message="Starting a systemd service..." --weight=6
# Start a systemd service
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
#=================================================
# SETUP SSOWAT

View file

@ -114,7 +114,8 @@ systemctl enable $app.service --quiet
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=8
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
sleep 120
#=================================================
# GENERIC FINALIZATION

View file

@ -169,7 +169,7 @@ yunohost service add $app --description="Collaborative editor." --log="/var/log/
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=6
ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Your Etherpad version is"
#=================================================
# RELOAD NGINX