|
|
@ -85,7 +85,7 @@ if "RELAYUSER" in os.environ:
|
|
|
|
|
|
|
|
|
|
|
|
# Configure and start local rsyslog server
|
|
|
|
# Configure and start local rsyslog server
|
|
|
|
conf.jinja("/conf/rsyslog.conf", os.environ, "/etc/rsyslog.conf")
|
|
|
|
conf.jinja("/conf/rsyslog.conf", os.environ, "/etc/rsyslog.conf")
|
|
|
|
os.system("/usr/sbin/rsyslogd -n &")
|
|
|
|
os.system("/usr/sbin/rsyslogd -niNONE &")
|
|
|
|
# Configure logrotate and start crond
|
|
|
|
# Configure logrotate and start crond
|
|
|
|
if os.environ["POSTFIX_LOG_FILE"] != "":
|
|
|
|
if os.environ["POSTFIX_LOG_FILE"] != "":
|
|
|
|
conf.jinja("/conf/logrotate.conf", os.environ, "/etc/logrotate.d/postfix.conf")
|
|
|
|
conf.jinja("/conf/logrotate.conf", os.environ, "/etc/logrotate.d/postfix.conf")
|
|
|
|