Skip to content

Instantly share code, notes, and snippets.

@mrseanryan
Created January 16, 2024 16:28
Show Gist options
  • Save mrseanryan/dd1e945316c1b0c4a763aa65eccd3fb8 to your computer and use it in GitHub Desktop.
Save mrseanryan/dd1e945316c1b0c4a763aa65eccd3fb8 to your computer and use it in GitHub Desktop.
Launch text-generation-webui as a Ubuntu service
#/etc/systemd/system/llmtextgen.service
[Unit]
After=network.target
[Service]
Type=simple
ExecStart=/bin/bash /home/ubuntu/start-llm.sh
User=ubuntu
Group=ubuntu
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment