1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mobilizon_ynh.git synced 2024-09-03 19:46:19 +02:00

Merge pull request #181 from YunoHost-Apps/fix-linter

fix linter
This commit is contained in:
eric_G 2024-01-12 23:35:53 +01:00 committed by GitHub
commit 3a54098a61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@
}, },
{ {
"name": "language", "name": "language",
"type": "string", "type": "select",
"ask": { "ask": {
"en": "Choose the application language", "en": "Choose the application language",
"fr": "Choisissez la langue de l'application" "fr": "Choisissez la langue de l'application"

View file

@ -75,7 +75,7 @@ fi
#================================================= #=================================================
ynh_script_progression --message="Stopping a systemd service..." ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped" ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd
#================================================= #=================================================
# MODIFY URL IN NGINX CONF # MODIFY URL IN NGINX CONF

View file

@ -189,7 +189,7 @@ pushd $final_path/live
password=$(ynh_string_random --length=30) password=$(ynh_string_random --length=30)
ynh_exec_as $app ./bin/mobilizon_ctl users.new "$admin_email" --admin --password "$password" ynh_exec_as $app ./bin/mobilizon_ctl users.new "$admin_email" --admin --password "$password"
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped" ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd
popd popd
#================================================= #=================================================

View file

@ -64,7 +64,7 @@ ynh_abort_if_errors
#================================================= #=================================================
ynh_script_progression --message="Stopping a systemd service..." ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd --line_match="Stopped" ynh_systemd_action --service_name=$app --action="stop" --log_path=systemd
#================================================= #=================================================
# ENSURE DOWNWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY