1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00
This commit is contained in:
Limezy 2022-06-04 22:25:12 +07:00
parent e8d2001b14
commit 1a07838aa1
3 changed files with 4 additions and 4 deletions

View file

@ -118,7 +118,7 @@ pushd "/var/www/"
popd popd
pushd "$final_path" pushd "$final_path"
git checkout "$PHOTOPRISM_VERSION" git checkout "$PHOTOPRISM_VERSION" 2>&1
popd popd
chmod 750 "$final_path" chmod 750 "$final_path"

View file

@ -144,7 +144,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log" yunohost service add $app --description="AI-Powered Photos App for the Decentralized Web" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE

View file

@ -75,7 +75,7 @@ then
pushd "$final_path" pushd "$final_path"
git fetch origin git fetch origin
git checkout "$PHOTOPRISM_VERSION" git checkout "$PHOTOPRISM_VERSION" 2>&1
popd popd
fi fi
@ -168,7 +168,7 @@ ynh_use_logrotate --non-append
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1 ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log" yunohost service add $app --description="AI-Powered Photos App for the Decentralized Web" --log="/var/log/$app/$app.log"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE