Initial commit - ERP System
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
pkill -9 -f "next dev" || true
|
||||
pkill -9 -f "next-server" || true
|
||||
pkill -9 -f "npm run dev" || true
|
||||
sleep 1
|
||||
cd /opt/erp-system
|
||||
nohup npm run dev > dev.log 2>&1 &
|
||||
echo "Server restarted"
|
||||
Reference in New Issue
Block a user