"feat: Update service installer scripts for better maintainability"
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=MYP Flask Backend
|
||||
Description=MYP Flask Backend (Python 3.11)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=pi
|
||||
WorkingDirectory=/opt/myp
|
||||
ExecStart=/opt/myp/.venv/bin/python /opt/myp/app.py
|
||||
ExecStart=/opt/myp/.venv/bin/python3.11 /opt/myp/app.py
|
||||
Restart=always
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
|
||||
|
Reference in New Issue
Block a user