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-10-20 18:19:02 +02:00
parent d9eb99d2f5
commit a6477fa4be
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ Group=__APP__
WorkingDirectory=__FINALPATH__
Environment="NODE_ENV=production"
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__FINALPATH__/node_modules/ep_etherpad-lite/node/server.js
ExecStart=--experimental-worker __FINALPATH__/node_modules/ep_etherpad-lite/node/server.js
Restart=always
[Install]

View file

@ -183,7 +183,7 @@ yunohost service add $app --description "Etherpad-lite, the collaborative editor
ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is" --timeout="120"
#=================================================
# SETUP SSOWAT

View file

@ -166,7 +166,7 @@ yunohost service add $app --description "Etherpad-lite, the collaborative editor
#=================================================
ynh_script_progression --message="Starting a systemd service..." --time --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is"
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Your Etherpad version is" --timeout="120"
#=================================================
# RELOAD NGINX