1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00

Fix linter warnings

This commit is contained in:
ericgaspar 2020-12-04 11:55:06 +01:00
parent 96776711ca
commit ee3d1fee79
No known key found for this signature in database
GPG key ID: 574F281483054D44
6 changed files with 13 additions and 9 deletions

View file

@ -24,8 +24,6 @@
multi_instance=1
port_already_use=0
change_url=1
;;; Levels
Level 5=auto
;;; Options
Email=
Notification=none

View file

@ -10,10 +10,10 @@
"url": "https://etherpad.org/",
"license": "Apache-2.0",
"maintainer": {
"name": ""
"name": "eric_G"
},
"requirements": {
"yunohost": ">= 4.0.7"
"yunohost": ">= 4.0.8"
},
"multi_instance": true,
"services": [

View file

@ -102,7 +102,13 @@ then
fi
#=================================================
# GENERIC FINALISATION
# SETUP SYSTEMD
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=4
# Create a dedicated systemd config
ynh_add_systemd_config --others_var="ynh_node_load_PATH"
#=================================================
# START SYSTEMD SERVICE
#=================================================

View file

@ -175,7 +175,7 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
yunohost service add $app --description "Collaborative editor." --log "/var/log/$app/$app.log"
yunohost service add $app --description="Collaborative editor." --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -101,14 +101,14 @@ ynh_script_progression --message="Restoring the systemd configuration..." --weig
#ynh_restore_file --origin_path="/etc
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service
systemctl enable $app.service --quiet
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=3
yunohost service add $app --description "Collaborative editor." --log "/var/log/$app/$app.log"
yunohost service add $app --description="Collaborative editor." --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE

View file

@ -171,7 +171,7 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description "Collaborative editor." --log "/var/log/$app/$app.log"
yunohost service add $app --description="Collaborative editor." --log="/var/log/$app/$app.log"
#=================================================
# START SYSTEMD SERVICE