mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
Update upgrade
This commit is contained in:
parent
b3020ab554
commit
1efd95dc84
1 changed files with 4 additions and 14 deletions
|
@ -10,8 +10,8 @@ final_path=/opt/yunohost/$app
|
||||||
# Source YunoHost helpers
|
# Source YunoHost helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
# Stop emby-server service
|
# Stop Adguard service
|
||||||
systemctl stop emby-server
|
systemctl stop adguard
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
@ -21,12 +21,6 @@ ynh_app_setting_set $app final_path $final_path
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source "$final_path"
|
ynh_setup_source "$final_path"
|
||||||
|
|
||||||
#==============================================
|
|
||||||
# INSTALL PLEX
|
|
||||||
#==============================================
|
|
||||||
|
|
||||||
dpkg --install $final_path/emby-server-deb*
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -34,7 +28,6 @@ dpkg --install $final_path/emby-server-deb*
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated nginx config
|
||||||
#ynh_add_nginx_config
|
#ynh_add_nginx_config
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPGRADE CONFIG
|
# UPGRADE CONFIG
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -43,14 +36,11 @@ dpkg --install $final_path/emby-server-deb*
|
||||||
#ynh_replace_string "__PASSWORD__" "$password" "/etc/loolwsd/loolwsd.xml"
|
#ynh_replace_string "__PASSWORD__" "$password" "/etc/loolwsd/loolwsd.xml"
|
||||||
#systemctl restart loolwsd
|
#systemctl restart loolwsd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# If app is public, add url to SSOWat conf as skipped_uris
|
# If app is public, add url to SSOWat conf as skipped_uris
|
||||||
#if [[ $is_public -eq 1 ]]; then
|
#if [[ $is_public -eq 1 ]]; then
|
||||||
# See install script
|
# See install script
|
||||||
# ynh_app_setting_set "$app" unprotected_uris "/"
|
# ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# Start emby-server service
|
# Start Adguard service
|
||||||
systemctl start emby-server
|
systemctl start adguard
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue