ansible/roles/asterisk/files/voicemail_api.service
2024-11-27 00:08:07 -05:00

12 lines
296 B
Desktop File

[Unit]
Description=Simple Asterisk voicemail HTTP API
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
WorkingDirectory=/var/lib/asterisk/voicemail_api
ExecStart=/usr/bin/env python3 -m uvicorn voicemail_api:app --host 0.0.0.0 --port 8000