Correct executables moved by alpine

master
Dario Ernst 6 years ago
parent ef3c6c407a
commit 96fbaecc2f

@ -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"])

Loading…
Cancel
Save