feat: add managed ACME listener and log rotation
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user