12 lines
296 B
Desktop File
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
|