Created
May 8, 2023 20:42
-
-
Save erichowey/56b04687873f98dbe3d75c0c0db3f576 to your computer and use it in GitHub Desktop.
InvokeAI systemd unit file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=A Stable Diffusion Toolkit | |
After=network.target | |
[Service] | |
Type=simple | |
WorkingDirectory=/opt/invokeai/ | |
ExecStart=/opt/invokeai/.venv/bin/python /opt/invokeai/.venv/bin/invokeai --web --host 0.0.0.0 --port 8989 --root_dir /opt/invokeai | |
User=invokeai | |
Group=invokeai | |
Nice=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment