feat: add managed ACME listener and log rotation

This commit is contained in:
chermack
2026-07-26 06:37:49 +08:00
parent 3cd9c2e9c8
commit 084577c910
5 changed files with 31 additions and 4 deletions
@@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
Environment=ACME_WEBROOT=/var/lib/trojan-acme-webroot
ExecStart=/bin/sh -c '/usr/local/bin/trojan acme-http --port "${ACME_HTTP_PORT:-8082}"'
ExecStart=/bin/sh -c '/usr/local/bin/trojan acme-http --host "${ACME_HTTP_HOST:-127.0.0.1}" --port "${ACME_HTTP_PORT:-8082}"'
Restart=on-failure
RestartSec=3s