mirror of
https://github.com/YunoHost-Apps/diaspora_ynh.git
synced 2024-09-03 18:26:13 +02: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:
parent
6cd9686643
commit
8808400b01
1 changed files with 4 additions and 4 deletions
|
@ -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)"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue