-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
25 lines (20 loc) · 884 Bytes
/
README
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
NAME
filesrv - filesystem web server
SYNOPSIS
filesrv [-d] [-p port] [-t timeout] [-u user] dir
DESCRIPTION
filesrv is a filesystem web server. It responds with directory listings
or file contents based on the request path. The -d option daemonizes the
process. The -p option specifies the listening port, otherwise 8080 by
default. -t option specifies the read and write timeout, otherwise 3
seconds by default.
The -u option causes filesrv to drop privileges to the specified user.
This is only available when filesrv is run as root. It is useful when
listening on a privileged lower port without needing persistent root
access.
AUTHORS
filesrv was written by Esote.
COPYRIGHT
Copyright (c) 2020 Esote. There is NO warranty. You may redistribute
this software under the terms of the GNU Affero General Public License.
For more information, see the LICENSE file.