From 221337ff259e7c30eea0c94615f2815bd21e74f2 Mon Sep 17 00:00:00 2001 From: magikcypress Date: Thu, 20 Apr 2017 17:13:09 +0200 Subject: [PATCH] [fix] install logrotate --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index dad4cb4..4ce713f 100644 --- a/scripts/install +++ b/scripts/install @@ -138,10 +138,10 @@ ynh_app_setting_set $app unprotected_uris "/" sudo systemctl reload nginx # Add Mopidy into YunoHost services -sudo yunohost service add mopidy --log "/var/log/mopidy/mopidy.log" +sudo yunohost service add mopidy --log "/var/log/${app}/mopidy.log" # Add logrotate -ynh_use_logrotate +ynh_use_logrotate $app # Reload SSOwat configuration sudo yunohost app ssowatconf \ No newline at end of file