diff --git a/systemd/whisper-local.service b/systemd/whisper-local.service new file mode 100644 index 0000000..22c10d1 --- /dev/null +++ b/systemd/whisper-local.service @@ -0,0 +1,13 @@ +[Unit] +Description=Whisper Local - Speech to Text +After=graphical-session.target + +[Service] +Type=simple +ExecStart=%h/.local/bin/whisper-local +Restart=on-failure +RestartSec=5 +Environment=XDG_RUNTIME_DIR=/run/user/%U + +[Install] +WantedBy=default.target