diff --git a/supervisord.conf b/supervisord.conf index 7080035..7f202d8 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -9,11 +9,18 @@ stdout_logfile=/var/log/nginx/access.log stderr_logfile=/var/log/nginx/error.log [program:java] -command=java -jar /opt/mcstatscli/MinecraftStatsCLI.jar config.json +command=sleep 60 && java -jar /opt/mcstatscli/MinecraftStatsCLI.jar config.json directory=/opt/mcstatscli/ autostart=true autorestart=true stdout_logfile=/var/log/java-output.log stderr_logfile=/var/log/java-error.log +stdout_logfile_maxbytes=1MB +stdout_logfile_backups=1 +stdout_capture_maxbytes=1MB +stdout_events_enabled=false +stderr_logfile_maxbytes=1MB +stderr_logfile_backups=1 +stderr_capture_maxbytes=1MB [supervisorctl] \ No newline at end of file