1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garage_ynh.git synced 2024-09-03 18:36:32 +02:00

Merge branch 'testing' into update-v1.0.0

This commit is contained in:
OniriCorpe 2024-08-18 22:43:16 +02:00 committed by GitHub
commit 0530872786
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
GARAGE_VERSION="0.9.0" GARAGE_VERSION="0.9.4"
system_is_inside_container() { system_is_inside_container() {
systemd-detect-virt -c -q systemd-detect-virt -c -q

View file

@ -102,6 +102,9 @@ yunohost tools regen-conf nginx
#================================================= #=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_script_progression --message="Configuring a systemd service..." --weight=1
mkdir -p "/var/log/$app/"
touch "/var/log/$app/$app.log"
# Create a dedicated systemd config # Create a dedicated systemd config
ynh_add_systemd_config ynh_add_systemd_config
@ -118,8 +121,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Garage: Data Store." ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Garage: Data Store."
#================================================= #=================================================
# CONFIGURE GARAGE # CONFIGURE GARAGE
#================================================= #=================================================