Skip to content
Commit c78eca1e authored by Roy Li's avatar Roy Li Committed by Joe MacDonald
Browse files

postfix: create or update aliases.db when using systemd



aliases.db should be created by postinstall script, but failed since
queue_directory is not includes root dir ${D}:
    ------
    |newaliases: fatal: chdir /var/spool/postfix: No such file or directory
    ------
initscript will recall newaliases before start postfix daemon, the similar
method, which run aliasesdb to create aliases.db when using systemd, is
introduced to fix this issue.

Signed-off-by: default avatarRoy.Li <rongqing.li@windriver.com>
Signed-off-by: default avatarJoe MacDonald <joe_macdonald@mentor.com>
parent 4b6970c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment