mirror of
https://github.com/chatmail/relay.git
synced 2026-05-10 16:04:37 +00:00
moved mta-sts-resolver to /usr/local/lib
This commit is contained in:
@@ -151,8 +151,8 @@ def _install_mta_sts_daemon() -> bool:
|
||||
server.shell(
|
||||
name="install postfix-mta-sts-resolver with pip",
|
||||
commands=[
|
||||
"python3 -m venv /var/lib/postfix-mta-sts-resolver",
|
||||
"/var/lib/postfix-mta-sts-resolver/bin/pip install postfix-mta-sts-resolver",
|
||||
"python3 -m venv /usr/local/lib/postfix-mta-sts-resolver",
|
||||
"/usr/local/lib/postfix-mta-sts-resolver/bin/pip install postfix-mta-sts-resolver",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=Postfix MTA-STS resolver daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/var/lib/postfix-mta-sts-resolver/bin/mta-sts-daemon
|
||||
ExecStart=/usr/local/lib/postfix-mta-sts-resolver/bin/mta-sts-daemon
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user