mirror of
https://github.com/casjaysdevdocker/postfix
synced 2025-09-19 21:57:45 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
9
rootfs/tmp/etc/rsyslog.conf
Normal file
9
rootfs/tmp/etc/rsyslog.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
$ModLoad immark # provides --MARK-- message capability
|
||||
$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)
|
||||
$IncludeConfig /etc/rsyslog.d/*.conf
|
||||
|
||||
mail.* /dev/stdout
|
||||
& /data/logs/postfix/mail.log
|
||||
mail.warn /data/logs/postfix/mail.warn
|
||||
mail.err /data/logs/postfix/mail.err
|
||||
*.* /dev/null
|
21
rootfs/tmp/etc/supervisord.conf
Normal file
21
rootfs/tmp/etc/supervisord.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
[supervisord]
|
||||
user = root
|
||||
nodaemon = true
|
||||
logfile = /dev/null
|
||||
logfile_maxbytes= 0
|
||||
|
||||
[program:rsyslog]
|
||||
command = rsyslogd -n
|
||||
autostart = true
|
||||
autorestart = true
|
||||
stdout_logfile = /dev/stdout
|
||||
stderr_logfile = /dev/stderr
|
||||
stdout_logfile_maxbytes = 0
|
||||
stderr_logfile_maxbytes = 0
|
||||
|
||||
[program:postfix]
|
||||
process_name = postfix
|
||||
autostart = true
|
||||
autorestart = true
|
||||
directory = /etc/postfix
|
||||
command = /usr/sbin/postfix -c /etc/postfix start-fg
|
Reference in New Issue
Block a user