Projektarbeit-MYP/backend/myp-backend.service

14 lines
277 B
Desktop File

[Unit]
Description=MYP Backend Service
After=network.target
[Service]
Type=simple
User=pi
WorkingDirectory=/home/pi/Projektarbeit-MYP/backend
ExecStart=/home/pi/Projektarbeit-MYP/backend/venv/bin/python app.py
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target