37 lines
1.7 KiB
Plaintext
37 lines
1.7 KiB
Plaintext
[Unit]
|
|
Description=AI Operator Go Service
|
|
After=network.target asterisk.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/ai-operator
|
|
ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --observe-only
|
|
# For real test-call control, replace --observe-only with --call-control only after approval.
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
Environment=AI_OPERATOR_ENV_FILE=/etc/ai-operator/ai-operator.env
|
|
|
|
# User will be finalized in deployment TZ.
|
|
# User=ai-operator
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
# Safe observe-only:
|
|
# ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --observe-only
|
|
|
|
# Controlled test mode only:
|
|
# ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --call-control --media --media-test-mode stats
|
|
|
|
# Safe fake provider test mode:
|
|
# ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --call-control --media --voice-provider fake
|
|
|
|
# OpenAI test mode only after OPENAI_API_KEY is configured:
|
|
# ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --call-control --media --voice-provider openai_realtime
|
|
|
|
# Current safe test mode with fake provider and dialogue state machine:
|
|
# ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --call-control --media --voice-provider fake
|
|
|
|
# Current safe test mode with fake provider, dialogue state machine, and language selection:
|
|
# ExecStart=/opt/ai-operator/bin/ai-operator run --env /etc/ai-operator/ai-operator.env --ari-events --call-control --media --voice-provider fake
|