luniebox/contrib/service/luniebox-app.service

11 lines
248 B
SYSTEMD
Raw Permalink Normal View History

2022-02-06 10:19:03 +01:00
[Unit]
Description=Luniebox Application
[Service]
WorkingDirectory=/home/pi/luniebox/application
ExecStart=/home/pi/luniebox/application/venv/bin/gunicorn -b 0.0.0.0:80 app:app
Restart=on-failure
RestartSec=15
2022-02-06 10:19:03 +01:00
[Install]
WantedBy=multi-user.target