Delete restart.sh

This commit is contained in:
Tyler
2026-04-20 00:53:28 -04:00
committed by GitHub
parent 3e8c2ca097
commit 67adca4d4f
-17
View File
@@ -1,17 +0,0 @@
#!/bin/bash
sleep 2
# Save current process PID
PID=$1
# Gracefully stop the current server
kill "$PID"
# Wait until it exits
while kill -0 "$PID" 2>/dev/null; do
sleep 0.5
done
# Restart with the same interpreter and script
export PRODUCTION=true
exec "$2" "$3"