Added the Dashy Dev service to the repo as well
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Plumbing Dashy Development Uvicorn API
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
WorkingDirectory=/opt/dashy-dev
|
||||||
|
Environment=DASHY_DB_PATH=/opt/dashy-dev/dashy.db
|
||||||
|
ExecStart=/opt/dashy-dev/venv/bin/uvicorn backend.main:app --host 127.0.0.1 --port 24026
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
TimeoutStopSec=30s
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
Reference in New Issue
Block a user