mirror of
https://github.com/YunoHost-Apps/immich_ynh.git
synced 2024-09-03 20:36:24 +02:00
Adding multimedia directories
This commit is contained in:
parent
103c0b4473
commit
f9ef5b23af
4 changed files with 10 additions and 1 deletions
|
@ -7,7 +7,7 @@ name = "Immich"
|
|||
description.en = "Photo and video backup solution directly from your mobile phone"
|
||||
description.fr = "Sauvegarde de photos et de vidéos directement depuis votre mobile"
|
||||
|
||||
version = "1.103.1~ynh1"
|
||||
version = "1.103.1~ynh2"
|
||||
|
||||
maintainers = ["ewilly"]
|
||||
|
||||
|
|
|
@ -75,6 +75,9 @@ yunohost service add "$app-server" --description="Immich Server" --log="/var/log
|
|||
yunohost service add "$app-microservices" --description="Immich Microservices" --log="/var/log/$app/$app-microservices.log"
|
||||
yunohost service add "$app-machine-learning" --description="Immich Machine Learning" --log="/var/log/$app/$app-machine-learning.log"
|
||||
|
||||
ynh_multimedia_build_main_dir
|
||||
ynh_multimedia_addaccess --user_name=$app
|
||||
|
||||
ynh_use_logrotate
|
||||
|
||||
ynh_add_fail2ban_config --logpath="/var/log/$app/$app-server.log" --failregex="$failregex"
|
||||
|
|
|
@ -70,6 +70,9 @@ yunohost service add "$app-server" --description="Immich Server" --log="/var/log
|
|||
yunohost service add "$app-microservices" --description="Immich Microservices" --log="/var/log/$app/$app-microservices.log"
|
||||
yunohost service add "$app-machine-learning" --description="Immich Machine Learning" --log="/var/log/$app/$app-machine-learning.log"
|
||||
|
||||
ynh_multimedia_build_main_dir
|
||||
ynh_multimedia_addaccess --user_name=$app
|
||||
|
||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||
|
||||
ynh_restore_file --origin_path="/etc/fail2ban/jail.d/$app.conf"
|
||||
|
|
|
@ -78,6 +78,9 @@ yunohost service add "$app-microservices" --description="Immich Microservices" -
|
|||
yunohost service add "$app-machine-learning" --description="Immich Machine Learning" --log="/var/log/$app/$app-machine-learning.log"
|
||||
yunohost service add "$app-server" --description="Immich Server" --log="/var/log/$app/$app-server.log"
|
||||
|
||||
ynh_multimedia_build_main_dir
|
||||
ynh_multimedia_addaccess --user_name=$app
|
||||
|
||||
ynh_use_logrotate --non-append
|
||||
|
||||
ynh_add_fail2ban_config --logpath="/var/log/$app/$app-server.log" --failregex="$failregex"
|
||||
|
|
Loading…
Add table
Reference in a new issue