1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/droppy_ynh.git synced 2024-09-03 18:26:27 +02:00
* Fix linter warnings
This commit is contained in:
Éric Gaspar 2020-12-11 09:12:07 +01:00 committed by GitHub
parent 7609636ef4
commit 4a2cfab649
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 8 deletions

View file

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

View file

@ -6,7 +6,7 @@
"en": "Self-hosted file storage server", "en": "Self-hosted file storage server",
"fr": "Serveur de stockage de fichiers auto-hébergé" "fr": "Serveur de stockage de fichiers auto-hébergé"
}, },
"version": "12.2.0~ynh2", "version": "12.2.0~ynh3",
"url": "https://github.com/silverwind/droppy", "url": "https://github.com/silverwind/droppy",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
"maintainer": { "maintainer": {

View file

@ -160,7 +160,7 @@ chmod 755 $final_path
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
yunohost service add $app --description "Self-hosted file storage server" --log="/var/log/$app/$app.log" yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -89,21 +89,21 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
ynh_script_progression --message="Restoring the systemd configuration..." --weight=3 ynh_script_progression --message="Restoring the systemd configuration..." --weight=3
ynh_restore_file --origin_path="/etc/systemd/system/$app.service" ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl enable $app.service systemctl enable $app.service --quiet
#================================================= #=================================================
# RESTORE VARIOUS FILES # RESTORE VARIOUS FILES
#================================================= #=================================================
ynh_restore_file "/home/yunohost.app/$app" ynh_restore_file "/home/yunohost.app/$app"
chown -R "$app:$app" "/home/yunohost.app/$app" chown -R $app:$app "/home/yunohost.app/$app"
#================================================= #=================================================
# INTEGRATE SERVICE IN YUNOHOST # INTEGRATE SERVICE IN YUNOHOST
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description "Self-hosted file storage server" --log "/var/log/$app/$app.log" yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -165,7 +165,7 @@ chmod 755 $final_path
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 ynh_script_progression --message="Integrating service in YunoHost..." --weight=2
yunohost service add $app --description "Self-hosted file storage server" --log="/var/log/$app/$app.log" yunohost service add $app --description="Self-hosted file storage server" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE