1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

Correct executables moved by alpine

This commit is contained in:
Dario Ernst 2019-06-23 19:00:01 +00:00
parent ef3c6c407a
commit 96fbaecc2f

View File

@ -54,6 +54,6 @@ convert("/conf/rsyslog.conf", "/etc/rsyslog.conf")
multiprocessing.Process(target=start_podop).start() multiprocessing.Process(target=start_podop).start()
if os.path.exists("/var/run/rsyslogd.pid"): if os.path.exists("/var/run/rsyslogd.pid"):
os.remove("/var/run/rsyslogd.pid") os.remove("/var/run/rsyslogd.pid")
os.system("/usr/lib/postfix/post-install meta_directory=/etc/postfix create-missing") os.system("/usr/libexec/postfix/post-install meta_directory=/etc/postfix create-missing")
os.system("/usr/lib/postfix/master &") os.system("/usr/libexec/postfix/master &")
os.execv("/usr/sbin/rsyslogd", ["rsyslogd", "-n"]) os.execv("/usr/sbin/rsyslogd", ["rsyslogd", "-n"])