voicepeak_api/voicepeak-api.service

16 lines
371 B
SYSTEMD
Raw Normal View History

2024-08-03 11:12:30 +00:00
[Unit]
Description=VoicePeak API Service
After=network.target
[Service]
User=ntki
Group=ntki
WorkingDirectory=/home/ntki/voicepeak_api
Environment="PATH=/home/ntki/voicepeak_api/venv/bin"
ExecStart=/home/ntki/voicepeak_api/venv/bin/python /home/ntki/voicepeak_api/app.py
EnvironmentFile=/home/ntki/voicepeak_api/.env
Restart=always
[Install]
WantedBy=multi-user.target