From 8d397ea7580c5c5855eaf2036695047ea583aac4 Mon Sep 17 00:00:00 2001 From: "me@ow.nekobit.net" Date: Wed, 23 Mar 2022 04:01:09 +0000 Subject: [PATCH] better startup script FossilOrigin-Name: d012b0bdaf10a1a63a71a3405e797bd4258e4e4b6ad39af06162ba07ce83458a --- scripts/fcgistarter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fcgistarter.sh b/scripts/fcgistarter.sh index 4a0702a..c2fe6cf 100755 --- a/scripts/fcgistarter.sh +++ b/scripts/fcgistarter.sh @@ -1,3 +1,3 @@ #!/bin/bash kill -9 $(pgrep treebird.cgi) > /dev/null 2>&1 -fcgistarter -c $PWD/../dist/treebird.cgi -p 4000 -N 1 +fcgistarter -c $(dirname $(readlink -f $0))/../dist/treebird.cgi -p 4000 -N 1