werc-1.5.0-tweaks

Tweaks for the werc website builder created by the mad architect Uriel
Log | Files | Refs | README

commit 0df82699ae103779234f6467d899b9d1e04c2a03
parent 60b179dbac731a28326f6c7f779d49454a16c33d
Author: Nuno Sempere <nuno.semperelh@protonmail.com>
Date:   Mon, 11 Apr 2022 02:14:51 +0000

fix: got open rc working

Diffstat:
Dbin/spawn-fcgi.sh | 16----------------
1 file changed, 0 insertions(+), 16 deletions(-)

diff --git a/bin/spawn-fcgi.sh b/bin/spawn-fcgi.sh @@ -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 - -