Files
memex/system/backups/!home!amr!.config!systemd!user!openwebui.service.~1~

16 lines
385 B
Plaintext

[Unit]
Description=OpenWebUI Service
After=network.target
[Service]
User=%i
WorkingDirectory=/home/amr/open-webui # Replace with OpenWebUI's directory
ExecStart=/usr/bin/python3 /home/amr/.local/bin/open-webui # Replace with the actual startup command
Restart=on-failure
RestartSec=5
Environment=PYTHONUNBUFFERED=1 # optional: helps with logging
[Install]
WantedBy=default.target