Skip to content

Commit

Permalink
🐞 Logs are being deleted when services are restarted (#354)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#912
  • Loading branch information
Findeton authored May 31, 2024
1 parent 862caee commit bc1cde4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ballot-box/templates/ballot-box.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ stopwaitsecs=3
user=ballotbox
redirect_stderr=true
stopasgroup=true
stdout_logfile=/var/log/supervisor/ballot-box.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
5 changes: 4 additions & 1 deletion eorchestra/templates/election-orchestra.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ autorestart=true
stopwaitsecs=3
user=eorchestra
redirect_stderr=true
stopasgroup=true
stopasgroup=true
stdout_logfile=/var/log/supervisor/eorchestra.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
3 changes: 3 additions & 0 deletions iam/templates/supervisor_iam_celery.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ stopwaitsecs=3
user=iam
environment=PATH="/home/iam/env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
redirect_stderr=true
stdout_logfile=/var/log/supervisor/iam_celery.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10
3 changes: 3 additions & 0 deletions iam/templates/supervisor_iam_celery_beat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ stopwaitsecs=3
user=iam
environment=PATH="/home/iam/env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
redirect_stderr=true
stdout_logfile=/var/log/supervisor/iam_celery_beat.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=10

0 comments on commit bc1cde4

Please sign in to comment.