mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
13 lines
304 B
Bash
Executable File
13 lines
304 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# NB: libtorch currently segfaults, so we need to restart our app ourselves,
|
|
# so Kubernetes won't CrashLoopBackOff us.
|
|
while :; do
|
|
# local: ../target/release/tts_service
|
|
echo "> starting tts_service"
|
|
./tts_service
|
|
echo "> tts_service exited; sleeping before restart"
|
|
sleep 1
|
|
done
|
|
|