fix: restore Trojan certificates and schedule host renewals

This commit is contained in:
chermack
2026-10-24 02:19:51 +08:00
parent 39255cc3dc
commit de8e02b33f
7 changed files with 330 additions and 21 deletions
+3 -1
View File
@@ -7,7 +7,9 @@ systemctl daemon-reload || true
systemctl start trojan
systemctl start trojan-web
systemctl start trojan-acme-challenge
systemctl enable trojan trojan-web trojan-acme-challenge trojan-acme-renew.timer || true
# systemctl.py does not run calendar timers; use the host renewal units shipped
# in trojan-stack/scripts rather than enabling an inert container timer.
systemctl enable trojan trojan-web trojan-acme-challenge || true
(
while sleep 300; do
/usr/local/sbin/rotate-trojan-log || true