treebird/scripts/fcgistarter.sh
me@ow.nekobit.net 8d397ea758 better startup script
FossilOrigin-Name: d012b0bdaf10a1a63a71a3405e797bd4258e4e4b6ad39af06162ba07ce83458a
2022-03-23 04:01:09 +00:00

3 lines
137 B
Bash
Executable file

#!/bin/bash
kill -9 $(pgrep treebird.cgi) > /dev/null 2>&1
fcgistarter -c $(dirname $(readlink -f $0))/../dist/treebird.cgi -p 4000 -N 1