When files are stored in /mnt/converter/in/{guid}/, the backend
needs the full relative path. The analyze endpoint now constructs
'{guid}/{filename}' before passing to the backend API.
8 lines
236 B
Bash
Executable file
8 lines
236 B
Bash
Executable file
#!/bin/bash
|
|
/mnt/converter tree
|
|
rm -rf /mnt/converter/in/*
|
|
rm -rf /mnt/converter/out/*
|
|
rm -rf /mnt/converter/backend/__pycache__/
|
|
systemctl restart vm-bench-backend.service
|
|
systemctl status vm-bench-backend.service
|
|
tree /mnt/converter/
|