From 1a7814c84e4fddca29d4a0dd873069ea1b98137d Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 30 Jun 2024 03:49:14 -0500 Subject: [PATCH] Add sdwebui service --- base/.config/systemd/user/sdwebui.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 base/.config/systemd/user/sdwebui.service diff --git a/base/.config/systemd/user/sdwebui.service b/base/.config/systemd/user/sdwebui.service new file mode 100644 index 00000000..a3a2bb73 --- /dev/null +++ b/base/.config/systemd/user/sdwebui.service @@ -0,0 +1,12 @@ +[Unit] +Description=StableDiffusion Web UI Service +After=network-online.target + +[Service] +WorkingDirectory=/home/salt/Projects/ollama/sdwebui/ +ExecStart=/home/salt/Projects/ollama/sdwebui/webui-docker.sh +Restart=always +RestartSec=3 + +[Install] +WantedBy=default.target