moved mta-sts-resolver to /usr/local/lib

This commit is contained in:
missytake
2023-11-25 00:29:37 +01:00
parent d7683ed3f7
commit 776bd87888
2 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -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