[Unit]
Description=TaxBaik Local TCP Proxy (5001 -> active blue/green port)
After=network.target

[Service]
Type=simple
User=kjh2064
WorkingDirectory=/home/kjh2064/taxbaik_active
ExecStart=/usr/bin/dotnet TaxBaik.Proxy.dll
Restart=always
RestartSec=3

# Proxy는 백엔드 포트(5003/5004) 전환 중에도 살아 있어야 한다.
TimeoutStopSec=15
KillMode=mixed
KillSignal=SIGTERM

SyslogIdentifier=taxbaik-proxy
Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false

[Install]
WantedBy=multi-user.target
