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
@@ -0,0 +1,11 @@
[Unit]
Description=Renew and verify Trojan certificate in Docker
Requires=docker.service
After=docker.service network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 /usr/local/sbin/renew-trojan-certificate-host.py
TimeoutStartSec=20min
UMask=0077