Create sd-webui.service.sh

This commit is contained in:
Oliver Gwyther 2025-04-01 20:31:05 +01:00
parent 247a12ffba
commit cf94b48a42

View File

@ -0,0 +1,19 @@
# /etc/systemd/system/sd-webui.service
[Service]
ExecStart=/bin/bash /home/oliver/stable-diffusion-webui/webui.sh
Restart=always
WorkingDirectory=/home/oliver/stable-diffusion-webui
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=sd-webui
User=oliver
[Install]
WantedBy=multi-user.target
# usage
#
# sudo mv sd-webui.service /etc/systemd/system/sd-webui.service
# sudo systemctl start sd-webui