diff --git a/ani-web.service b/ani-web.service deleted file mode 100644 index 071c4ff..0000000 --- a/ani-web.service +++ /dev/null @@ -1,17 +0,0 @@ -# Supervised replacement for run.sh's nohup (crash -> auto-restart). -# Install (then stop the run.sh instance: pkill -f 'uvicorn .*app:app'): -# sudo ln -s /home/jozamudi/code/ani-cli-front-end/ani-web.service /etc/systemd/system/ -# sudo systemctl daemon-reload && sudo systemctl enable --now ani-web -[Unit] -Description=ani-web (FastAPI anime front-end) -After=network-online.target - -[Service] -WorkingDirectory=/home/jozamudi/code/ani-cli-front-end -Environment=ANIWEB_SECURE=1 -ExecStart=/home/jozamudi/code/ani-cli-front-end/.venv/bin/python -m uvicorn server.app:app --host 0.0.0.0 --port 8321 -Restart=always -RestartSec=2 - -[Install] -WantedBy=multi-user.target