diff --git a/_voicepeak-api.service b/_voicepeak-api.service new file mode 100644 index 0000000..de66b70 --- /dev/null +++ b/_voicepeak-api.service @@ -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