Fix log path

This commit is contained in:
Josué Tille 2019-09-07 11:02:15 +02:00
parent f2e84f1122
commit b6dcf3d9c3
No known key found for this signature in database
GPG Key ID: 716A6C99B04194EF
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ../conf/login_source.sql
set_access_settings set_access_settings
# Add gitea to YunoHost's monitored services # Add gitea to YunoHost's monitored services
yunohost service add "$app" --log "/var/log/$app/$app.log" yunohost service add "$app" --log "/var/log/$app/gitea.log"
# Configure logrotate # Configure logrotate
ynh_use_logrotate "/var/log/$app" ynh_use_logrotate "/var/log/$app"

View File

@ -66,7 +66,7 @@ set_permission
ynh_use_logrotate "/var/log/$app" ynh_use_logrotate "/var/log/$app"
# Add gitea to YunoHost's monitored services # Add gitea to YunoHost's monitored services
yunohost service add "$app" --log /var/log/"$app"/"$app".log yunohost service add "$app" --log /var/log/"$app"/gitea.log
# Reload services # Reload services
systemctl reload nginx.service systemctl reload nginx.service