mirror of
https://github.com/rommapp/romm.git
synced 2026-03-03 02:27:00 +00:00
cleanup sylinks
This commit is contained in:
@@ -11,6 +11,10 @@ ln -sf /app/romm/assets /app/frontend/assets/romm/assets
|
||||
# Define a signal handler to propagate termination signals
|
||||
function handle_termination() {
|
||||
echo "Terminating child processes..."
|
||||
# Cleanup symlinks
|
||||
rm -f /app/frontend/assets/romm/resources
|
||||
rm -f /app/frontend/assets/romm/assets
|
||||
# Kill all background jobs
|
||||
# trunk-ignore(shellcheck)
|
||||
kill -TERM $(jobs -p) 2>/dev/null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user