mirror of
https://github.com/YunoHost-Apps/jellyfin_ynh.git
synced 2024-09-03 19:26:29 +02:00
Fix linter warnings
This commit is contained in:
parent
0d6b04e17b
commit
2fc0563d32
4 changed files with 4 additions and 9 deletions
|
@ -23,13 +23,8 @@
|
||||||
upgrade=1 from_commit=3e38d2ec954f6b333c3c2ed95e0e75c0df2fe966
|
upgrade=1 from_commit=3e38d2ec954f6b333c3c2ed95e0e75c0df2fe966
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
# This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version.
|
|
||||||
# incorrect_path=1
|
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Levels
|
|
||||||
# If the level 5 (Package linter) is forced to 1. Please add justifications here.
|
|
||||||
Level 5=auto
|
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=
|
Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
|
|
|
@ -125,7 +125,7 @@ ynh_use_logrotate
|
||||||
#=================================================
|
#=================================================
|
||||||
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 "Jellyfin media center" --log "/var/log/$app/$app.log"
|
yunohost service add $app --description="Jellyfin media center" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -93,14 +93,14 @@ ynh_script_progression --message="Restoring the systemd configuration..." --weig
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/lib/systemd/system/jellyfin.service" 2>/dev/null
|
ynh_restore_file --origin_path="/lib/systemd/system/jellyfin.service" 2>/dev/null
|
||||||
ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" 2>/dev/null
|
ynh_restore_file --origin_path="/etc/systemd/system/jellyfin.service.d" 2>/dev/null
|
||||||
systemctl enable $app.service
|
systemctl enable $app.service --quiet
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
#=================================================
|
#=================================================
|
||||||
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 "Jellyfin media center" --log "/var/log/$app/$app.log"
|
yunohost service add $app --description="Jellyfin media center" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -96,7 +96,7 @@ ynh_use_logrotate --non-append
|
||||||
#=================================================
|
#=================================================
|
||||||
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 "Jellyfin media center" --log "/var/log/$app/$app.log"
|
yunohost service add $app --description="Jellyfin media center" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
Loading…
Add table
Reference in a new issue