This file is indexed.

/usr/bin/wsapi.fcgi is in lua-wsapi-fcgi 1.6.0-2.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env lua5.1

-- Generic WSAPI FastCGI launcher, extracts application to launch
-- from SCRIPT_FILENAME/PATH_TRANSLATED, each application (defined
-- by its script entry point) gets an isolated Lua VM; sequential
-- requests to the same application go to the same VM

local common = require "wsapi.common"
local fastcgi = require "wsapi.fastcgi"

local ONE_HOUR = 60 * 60
local ONE_DAY = 24 * ONE_HOUR

local wsapi_loader = common.make_loader{
  isolated = true,         -- isolate each script in its own Lua state
  filename = nil,          -- if you want to force the launch of a single script
  launcher = "wsapi.fcgi", -- the name of this script
  reload = false,          -- if you want to reload the application on every request
  period = ONE_HOUR,       -- frequency of Lua state staleness checks
  ttl = ONE_DAY,           -- time-to-live for Lua states
  vars =                   -- order of checking for the path of the script
   { "SCRIPT_FILENAME",
     "PATH_TRANSLATED" } 
}

fastcgi.run(wsapi_loader)