Add stable-diffusion-webui.service
This commit is contained in:
parent
8838d0645d
commit
2c51fe4f01
14
stable-diffusion-webui.service
Normal file
14
stable-diffusion-webui.service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Stable Diffusion Web UI
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=jay
|
||||||
|
WorkingDirectory=/home/jay/openwebui/stable-diffusion-webui
|
||||||
|
Environment="LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4"
|
||||||
|
ExecStart=/bin/bash /home/jay/openwebui/stable-diffusion-webui/start_webui.sh
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
x
Reference in New Issue
Block a user