Create sd-webui.service.sh
This commit is contained in:
parent
247a12ffba
commit
cf94b48a42
19
stable-diffusion/sd-webui.service.sh
Normal file
19
stable-diffusion/sd-webui.service.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user