1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/reiverr_ynh.git synced 2024-09-03 20:16:14 +02:00
This commit is contained in:
Thomas 2023-10-29 13:06:02 +01:00 committed by GitHub
parent 19b9f3d7a1
commit a4897f0711
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 2 additions and 49 deletions

View file

@ -1,8 +0,0 @@
PUBLIC_RADARR_API_KEY=__RADARR_API__
PUBLIC_RADARR_BASE_URL=__RADARR_DOMAIN__
PUBLIC_SONARR_API_KEY=__SONARR_API__
PUBLIC_SONARR_BASE_URL=__SONARR_DOMAIN__
PUBLIC_JELLYFIN_API_KEY=__JELLYFIN_API__
PUBLIC_JELLYFIN_URL=__JELLYFIN_DOMAIN__

View file

@ -1,3 +0,0 @@
This is a dummy admin doc for this app
The app install dir is `__INSTALL_DIR__`

View file

@ -1,3 +0,0 @@
Ceci est une fausse doc d'admin pour cette app
Le dossier d'install de l'app est `__INSTALL_DIR__`

View file

@ -1 +1 @@
This is a dummy description of this app features Reiverr is a project that aims to create a single UI for interacting with TMDB, Jellyfin, Radarr and Sonarr, as well as be an alternative to Overseerr.

View file

@ -1 +1 @@
Ceci est une fausse description des fonctionalités de l'app Reiverr est un projet qui a pour objectif de créer une interface utilisateur unique pour intéragir avec TMDB, Jellyfin, Radarr et Sonarr, en plus dêtre une alternative à Overseerr.

View file

@ -1,7 +0,0 @@
This is a dummy disclaimer to display after the install
The app url is `__DOMAIN____PATH__`
The app install dir is `__INSTALL_DIR__`
The app id is `__ID__`

View file

@ -1 +0,0 @@
This is a dummy disclaimer to display after upgrades

View file

@ -1 +0,0 @@
This is a dummy disclaimer to display prior to the install

View file

@ -1 +0,0 @@
Ceci est un faux disclaimer à présenter avant l'installation

View file

@ -1 +0,0 @@
This is a dummy disclaimer to display prior to any upgrade

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 509 KiB

View file

@ -71,16 +71,6 @@ chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:$app "$install_dir" chown -R $app:$app "$install_dir"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..."
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
#================================================= #=================================================

View file

@ -81,18 +81,6 @@ chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:$app "$install_dir" chown -R $app:$app "$install_dir"
#=================================================
# RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...)
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
#================================================= #=================================================
# SETUP SYSTEMD # SETUP SYSTEMD
#================================================= #=================================================