parent
511309f219
commit
50fa972daf
14
_voicepeak-api.service
Normal file
14
_voicepeak-api.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=VOICEPEAK API Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=your_user
|
||||
Group=your_group
|
||||
WorkingDirectory=/path/to/your/project
|
||||
Environment="PATH=/path/to/your/project/venv/bin"
|
||||
ExecStart=/path/to/your/project/venv/bin/python /path/to/your/project/app.py
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue
Block a user