Trigger restart of postfix if passwords of mail accounts change
This commit is contained in:
parent
b866182532
commit
14cabd62e5
|
@ -174,5 +174,7 @@ in
|
||||||
done
|
done
|
||||||
chown -R '${dovecot2Cfg.mailUser}:${dovecot2Cfg.mailGroup}' '${stateDir}/imap_sieve'
|
chown -R '${dovecot2Cfg.mailUser}:${dovecot2Cfg.mailGroup}' '${stateDir}/imap_sieve'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
systemd.services.postfix.restartTriggers = [ passwdFile ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue