Compare commits

..

No commits in common. "785283950f3483089ddb7da5c69818305881fde8" and "b068a24ed52674fd1599b948ec3677c2b7b716d1" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View file

@ -16,4 +16,3 @@
25a29c32,eb64c39,main,2025-09-03T18:25:18Z,michael,git,lua-api
25a29c32,38a1108,main,2025-09-03T20:13:08Z,michael,git,lua-api
25a29c32,442b465,fix/systemd-type-forking,2025-09-05T15:02:31Z,michael,git,lua-api
25a29c32,c15b01a,fix/config-path-consistency,2025-09-05T15:21:25Z,michael,git,lua-api

View file

@ -17,15 +17,9 @@ echo -e "${GREEN}=== Furt Lua HTTP-Server Startup ===${NC}"
LUA_COMMAND=""
# Config check first (like old .env check)
if [ "$(uname)" = "OpenBSD" ] || [ "$(uname)" = "FreeBSD" ]; then
CONFIG_FILE="/usr/local/etc/furt/furt.conf"
else
CONFIG_FILE="/etc/furt/furt.conf"
fi
if [ ! -f "$CONFIG_FILE" ] && [ ! -f "$PROJECT_DIR/config/furt.conf" ]; then
if [ ! -f "/usr/local/etc/furt/furt.conf" ] && [ ! -f "$PROJECT_DIR/config/furt.conf" ]; then
echo -e "${RED}Error: furt.conf not found${NC}"
echo "Create config first in $CONFIG_FILE or $PROJECT_DIR/config/furt.conf"
echo "Create config first in /usr/local/etc/furt/furt.conf or $PROJECT_DIR/config/furt.conf"
exit 1
fi