Merge pull request #55 from YunoHost-Apps/dev

Dev
This commit is contained in:
Jens Diemer 2024-08-02 20:10:04 +02:00 committed by GitHub
commit b395db9cd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 4 deletions

View file

@ -138,7 +138,7 @@ exclude_lines = [
legacy_tox_ini = """ legacy_tox_ini = """
[tox] [tox]
isolated_build = True isolated_build = True
envlist = py{312,311,310,39} envlist = py{312,311,310}
skip_missing_interpreters = True skip_missing_interpreters = True
[testenv] [testenv]

View file

@ -98,6 +98,8 @@ cd "$data_dir" || exit
# Just for debugging: # Just for debugging:
./manage.py diffsettings ./manage.py diffsettings
./manage.py fill_basedata --no-input
./manage.py migrate --no-input ./manage.py migrate --no-input
./manage.py collectstatic --no-input ./manage.py collectstatic --no-input
@ -113,7 +115,7 @@ cd "$data_dir" || exit
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app yunohost service add --description $app $app
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -57,7 +57,7 @@ systemctl enable $app.service --quiet
#================================================= #=================================================
ynh_script_progression --message="Integrating service in YunoHost..." ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app yunohost service add --description $app $app
#================================================= #=================================================
# RESTORE THE LOGROTATE CONFIGURATION # RESTORE THE LOGROTATE CONFIGURATION

View file

@ -111,7 +111,7 @@ myynh_fix_file_permissions
#================================================= #=================================================
ynh_script_progression --message="Starting systemd service '$app'..." --weight=5 ynh_script_progression --message="Starting systemd service '$app'..." --weight=5
yunohost service add $app yunohost service add --description $app $app
ynh_systemd_action --service_name=$app --action="start" --log_path="$log_file" ynh_systemd_action --service_name=$app --action="start" --log_path="$log_file"
#================================================= #=================================================