1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 16:26:13 +00:00

Fixes log collection in service

I wish I could collate journalctl outputs with file outputs. My dream
would be to unify *all* logs and services of this app into one ynh
service.

There is not a lot of things in journalctl, but some logs still ends up
there.
This commit is contained in:
Augustin Trancart 2020-04-21 23:25:42 +02:00
parent 6cd9686643
commit 8808400b01

View file

@ -213,10 +213,10 @@ ynh_use_logrotate
#=================================================
yunohost service add postgresql --log /var/log/postgresql/postgresql-9.4-main.log --description "PostgreSQL RDBMS"
yunohost service add $app.target\
--log $final_path/diaspora/log/production.log -t file\
--log $final_path/diaspora/log/unicorn-stderr.log -t file\
--log $final_path/diaspora/log/unicorn-stdout.log -t file\
--log $final_path/diaspora/log/sidekiq.log -t file\
--log $final_path/diaspora/log/production.log \
$final_path/diaspora/log/unicorn-stderr.log\
$final_path/diaspora/log/unicorn-stdout.log\
$final_path/diaspora/log/sidekiq.log\
--description "Diaspora service (unicorn web and sidekiq)"
#=================================================