Odysseus v1.0
This commit is contained in:
18
odysseus-ui.service
Normal file
18
odysseus-ui.service
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copy to /etc/systemd/system/odysseus-ui.service
|
||||
# Edit User, WorkingDirectory, and ExecStart paths to match your setup
|
||||
[Unit]
|
||||
Description=Odysseus UI
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
# CHANGE THESE to match your user and install path:
|
||||
User=YOURUSER
|
||||
WorkingDirectory=/home/YOURUSER/odysseus-ui
|
||||
ExecStart=/home/YOURUSER/odysseus-ui/venv/bin/uvicorn app:app --port 8000 --host 0.0.0.0
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
EnvironmentFile=-/home/YOURUSER/odysseus-ui/.env
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user