feat: add compatible Trojan manager image

This commit is contained in:
chermack
2026-07-26 05:01:15 +08:00
parent 059be96536
commit cb17d56cae
26 changed files with 320 additions and 41 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail
# The legacy image's systemd replacement can supervise units without a real
# PID-1 systemd. Start them explicitly and keep the container foreground alive.
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
exec tail -f /dev/null