Changes between Version 6 and Version 7 of expansion/gw16168
- Timestamp:
- 05/01/2026 10:18:16 PM (103 minutes ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
expansion/gw16168
v6 v7 216 216 [Unit] 217 217 Description=eIQ AAF Connector Service 218 After=network.target rt-sdk-ara2.service 218 # No 'After' or 'Wants' for rt-sdk-ara2.service here 219 # This prevents the 'Ordering Cycle' entirely 220 After=network.target 221 StartLimitIntervalSec=0 219 222 220 223 [Service] … … 222 225 User=root 223 226 WorkingDirectory=/usr/share/eiq/aaf-connector 224 ExecStart=/usr/share/eiq/aaf-connector/venv/bin/connector --host 127.0.0.1 --port 8000 227 228 # This loop now handles the dependency logic internally. 229 # It will spin until the proxy is actually alive, regardless of 230 # which service started it or when. 231 ExecStartPre=/bin/bash -c 'until ss -Hltn | grep -E -q ":5000([[:space:]]|$)"; do echo "Waiting for ARA2 Proxy to initialize..." >&2; sleep 5; done' 232 ExecStartPre=/bin/sleep 2 233 234 ExecStart=/usr/share/eiq/aaf-connector/venv/bin/connector --host 0.0.0.0 --port 8000 235 225 236 Restart=on-failure 226 RestartSec=5s 237 RestartSec=10s 238 StartLimitBurst=0 239 227 240 StandardOutput=journal 228 241 StandardError=journal … … 232 245 EOF 233 246 }}} 247 - this one differs from the one in the deb's postinst script as I found that one to not work (it would not wait for the proxy to be alive) 234 248 - If you wish this to be accessible from the Network set the host to '0.0.0.0' instead of '127.0.0.1': 235 249 {{{#!bash
