Created
July 20, 2023 03:00
-
-
Save darklinden/498ab415b2a9d7da834384f763a99ef0 to your computer and use it in GitHub Desktop.
Start Service For stable-diffusion-webui
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
# /etc/systemd/system/sd-webui.service | |
[Service] | |
ExecStart=/bin/bash /home/ubuntu/stable-diffusion-webui/webui.sh --listen --api | |
Restart=always | |
WorkingDirectory=/home/ubuntu/stable-diffusion-webui | |
StandardOutput=syslog | |
StandardError=syslog | |
SyslogIdentifier=sd-webui | |
User=ubuntu | |
[Install] | |
WantedBy=multi-user.target | |
# usage | |
# | |
# sudo mv sd-webui.service /etc/systemd/system/sd-webui.service | |
# sudo systemctl start sd-webui |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment