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:
parent
96776711ca
commit
ee3d1fee79
6 changed files with 13 additions and 9 deletions
|
@ -24,8 +24,6 @@
|
|||
multi_instance=1
|
||||
port_already_use=0
|
||||
change_url=1
|
||||
;;; Levels
|
||||
Level 5=auto
|
||||
;;; Options
|
||||
Email=
|
||||
Notification=none
|
||||
|
|
|
@ -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": [
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue