Kaynağa Gözat

add file start-fcgi.sh stop-fcgi.sh

root 9 yıl önce
ebeveyn
işleme
4883cbce62
2 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 5 0
      start-fcgi.sh
  2. 4 0
      stop-fcgi.sh

+ 5 - 0
start-fcgi.sh

@@ -0,0 +1,5 @@
+#! /bin/sh
+
+cd /opt/shopnc/
+
+spawn-fcgi -a 127.0.0.1 -p 9100 -F 1 -f "/usr/local/bin/php fcgi_run.php"

+ 4 - 0
stop-fcgi.sh

@@ -0,0 +1,4 @@
+#! /bin/sh
+
+kill -9 $(pidof php)
+