ostree-trivial-httpd(1)

ostree-trivial-httpd1

Simple webserver

Usage

ostree trivial-httpd [OPTIONS ...] [DIR]

Overview

This runs a simple webserver and keeps it running until killed. If DIR is not specified, it defaults to the current directory.

Options

--daemonize,-d

Fork into background when ready.

--autoexit

Automatically exit when directory is deleted.

--port-file,-p="PATH"

Write port number to PATH (- for standard output).

--port,-P

Use the specified TCP port to listen on.

--force-range-requests

Force range requests by only serving half of files.

Examples

$ ostree trivial-httpd

Releases

3 releases since Debian 9 (Stretch); the text changed 2 times.

  1. 9
  2. 11
  3. 12

From ostree 2022.7-2+deb12u1 in Debian 12 (Bookworm). Parsed by carta from the page's man source.