mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 20:38:05 +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(
|
server.shell(
|
||||||
name="install postfix-mta-sts-resolver with pip",
|
name="install postfix-mta-sts-resolver with pip",
|
||||||
commands=[
|
commands=[
|
||||||
"python3 -m venv /var/lib/postfix-mta-sts-resolver",
|
"python3 -m venv /usr/local/lib/postfix-mta-sts-resolver",
|
||||||
"/var/lib/postfix-mta-sts-resolver/bin/pip install 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
|
Description=Postfix MTA-STS resolver daemon
|
||||||
|
|
||||||
[Service]
|
[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
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user