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

[fix] install logrotate

This commit is contained in:
magikcypress 2017-04-20 17:13:09 +02:00
parent f69f453b78
commit 221337ff25

View file

@ -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