voicepeak_api/voicepeak-api.service
2024-08-03 20:12:30 +09:00

16 lines
371 B
Desktop File

[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