1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
This commit is contained in:
Éric Gaspar 2023-03-07 09:18:55 +01:00
parent de5df94c76
commit 33b68771fd
2 changed files with 10 additions and 13 deletions

View file

@ -42,18 +42,6 @@ fi
chown -R $app:www-data "$install_dir"
#=================================================
# HANDLE LOG FILES AND LOGROTATE
#=================================================
ynh_script_progression --message="Configuring log rotation..." --weight=1
# Create log directory
mkdir -p /var/log/$app
chown $app -R "/var/log/$app"
# Setup logrotate
ynh_use_logrotate
#=================================================
# EDIT MATTERMOST CONFIG
#=================================================
@ -79,6 +67,13 @@ ynh_add_systemd_config
yunohost service add $app --description="Collaboration platform built for developers" --log="/var/log/$app/$app.log"
# Create log directory
mkdir -p /var/log/$app
chown $app -R "/var/log/$app"
# Setup logrotate
ynh_use_logrotate
#=================================================
# START SYSTEMD SERVICE
#=================================================

View file

@ -16,7 +16,6 @@ test_format = 1.0
# -------------------------------
test_upgrade_from.738ba505.name = "Upgrade from 7.2.0"
test_upgrade_from.1677cb9f.name = "Upgrade from 7.3.0"
@ -28,3 +27,6 @@ test_format = 1.0
args.admin_password = "admin!42"
args.version = "Team"
args.team_display_name = "Mon équipe"
test_upgrade_from.738ba505.name = "Upgrade from 7.2.0"
test_upgrade_from.1677cb9f.name = "Upgrade from 7.3.0"