build(docker): base image added
Setup dockerfile with base components. MR !1
This commit is contained in:
23
include/etc/logrotate.d/rsyslog
Normal file
23
include/etc/logrotate.d/rsyslog
Normal file
@ -0,0 +1,23 @@
|
||||
/var/log/syslog
|
||||
/var/log/daemon.log
|
||||
/var/log/kern.log
|
||||
/var/log/auth.log
|
||||
/var/log/user.log
|
||||
/var/log/lpr.log
|
||||
/var/log/cron.log
|
||||
/var/log/debug
|
||||
/var/log/messages
|
||||
/var/log/lastlog
|
||||
/var/log/faillog
|
||||
{
|
||||
rotate 30
|
||||
daily
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
supervisorctl restart rsyslog
|
||||
endscript
|
||||
}
|
23
include/etc/supervisor/conf.d/supervisord.conf
Normal file
23
include/etc/supervisor/conf.d/supervisord.conf
Normal file
@ -0,0 +1,23 @@
|
||||
[supervisord]
|
||||
#daemon=false
|
||||
nodaemon = true
|
||||
pidfile=/var/run/supervisord.pid
|
||||
|
||||
|
||||
[program:rsyslog]
|
||||
startsecs=0
|
||||
stopwaitsecs=55
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
command=/usr/sbin/rsyslogd -n
|
||||
|
||||
[program:cron]
|
||||
startsecs=0
|
||||
stopwaitsecs=55
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
command=/usr/sbin/cron -f
|
Reference in New Issue
Block a user