**Motivations:** - Manage ia-dev-gateway, tools-bridge and orchestrator as user services. - Provide a repeatable install path aligned with existing systemd patterns. **Root causes:** - N/A **Correctifs:** - N/A **Evolutions:** - Add systemd user unit templates for ia-dev-gateway, smart-ide-tools-bridge and smart-ide-orchestrator. - Add an install script and document it in docs/repo/systemd-units.md. **Pages affectées:** - N/A
21 lines
609 B
SYSTEMD
21 lines
609 B
SYSTEMD
[Unit]
|
|
Description=smart_ide — orchestrator (intent router)
|
|
Documentation=file://@SMART_IDE_ROOT@/docs/repo/service-smart-ide-orchestrator.md
|
|
After=network-online.target
|
|
After=ia-dev-gateway.service
|
|
After=smart-ide-tools-bridge.service
|
|
Wants=ia-dev-gateway.service
|
|
Wants=smart-ide-tools-bridge.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=@SMART_IDE_ROOT@/services/smart-ide-orchestrator
|
|
EnvironmentFile=-@SMART_IDE_ROOT@/config/services.local.env
|
|
ExecStart=/usr/bin/node @SMART_IDE_ROOT@/services/smart-ide-orchestrator/dist/server.js
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|