From 0df82699ae103779234f6467d899b9d1e04c2a03 Mon Sep 17 00:00:00 2001 From: Nuno Sempere Date: Mon, 11 Apr 2022 02:14:51 +0000 Subject: [PATCH] fix: got open rc working --- bin/spawn-fcgi.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 bin/spawn-fcgi.sh diff --git a/bin/spawn-fcgi.sh b/bin/spawn-fcgi.sh deleted file mode 100755 index 51f94fd..0000000 --- a/bin/spawn-fcgi.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/bash -PID_file="/home/uriel/workspace/werc-1.5.0/bin/pid" -start() { - PID_spawn="$(/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -f /usr/sbin/fcgiwrap)" - echo "$PID_spawn" > "$PID_file" -} - -stop() { - kill -15 "$(cat "$PID_FILE")" -} - -case $1 in - start|stop) "$1" ;; -esac - -