Merge branch 'fix/service-detection'
This commit is contained in:
commit
3bef171671
2 changed files with 13 additions and 2 deletions
|
|
@ -7,3 +7,4 @@
|
|||
7ca7e6d6,8ec4019,feature/issue-89-multi-tenant,2025-08-28T17:53:42Z,michael,git,lua-api
|
||||
25a29c32,5c17c86,feature/issue-89-multi-tenant,2025-08-29T18:01:55Z,michael,git,lua-api
|
||||
25a29c32,9b19b6a,main,2025-08-29T20:01:44Z,michael,git,lua-api
|
||||
25a29c32,11ceb18,fix/service-detection,2025-09-02T16:36:07Z,michael,git,lua-api
|
||||
|
|
|
|||
|
|
@ -61,6 +61,16 @@ $LUA_COMMAND -e "require('cjson')" 2>/dev/null || {
|
|||
cd "$PROJECT_DIR"
|
||||
|
||||
echo -e "${GREEN}Starting Furt...${NC}"
|
||||
# Furt liest selbst seine Config aus furt.conf
|
||||
exec "$LUA_COMMAND" src/main.lua
|
||||
|
||||
# Service vs Interactive Detection
|
||||
if [ ! -t 0 ] || [ ! -t 1 ]; then
|
||||
# Service mode - Background
|
||||
"$LUA_COMMAND" src/main.lua &
|
||||
else
|
||||
# Interactive mode - Foreground
|
||||
exec "$LUA_COMMAND" src/main.lua
|
||||
fi
|
||||
|
||||
# Furt liest selbst seine Config aus furt.conf
|
||||
#exec "$LUA_COMMAND" src/main.lua
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue