Compare commits
No commits in common. "b4bc104750a0ae7c7dd5ead064a0d4d1aac057dd" and "df1edf3dc5c79617b5df259b8b82057dba599fbd" have entirely different histories.
b4bc104750
...
df1edf3dc5
2 changed files with 2 additions and 4 deletions
|
|
@ -22,4 +22,3 @@
|
||||||
a670de0f,d271b84,refactor/extract-health-routes-and-server-core,2025-09-05T17:25:09Z,michael,git,lua-api
|
a670de0f,d271b84,refactor/extract-health-routes-and-server-core,2025-09-05T17:25:09Z,michael,git,lua-api
|
||||||
a670de0f,25a709e,feature/pid-file-service-management,2025-09-05T20:30:13Z,michael,git,lua-api
|
a670de0f,25a709e,feature/pid-file-service-management,2025-09-05T20:30:13Z,michael,git,lua-api
|
||||||
a670de0f,59f372f,feature/pid-file-service-management,2025-09-07T14:58:01Z,michael,git,lua-api
|
a670de0f,59f372f,feature/pid-file-service-management,2025-09-07T14:58:01Z,michael,git,lua-api
|
||||||
a670de0f,683d6e5,fix/validate-config-posix-regex,2025-09-07T16:00:48Z,michael,git,lua-api
|
|
||||||
|
|
|
||||||
|
|
@ -24,13 +24,12 @@ if ! grep -q '^\[server\]' "$CONFIG_FILE"; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fix: Use POSIX-compatible regex patterns
|
if ! grep -q '^port\s*=' "$CONFIG_FILE"; then
|
||||||
if ! grep -q '^[ \t]*port[ \t]*=' "$CONFIG_FILE"; then
|
|
||||||
echo "Error: server port not configured"
|
echo "Error: server port not configured"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! grep -q '^[ \t]*host[ \t]*=' "$CONFIG_FILE"; then
|
if ! grep -q '^host\s*=' "$CONFIG_FILE"; then
|
||||||
echo "Error: server host not configured"
|
echo "Error: server host not configured"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue