Logo address

Mon

目次

Location

	/usr/local/bin/$objtype/mon

Usage

	mon [-d] [-u user] [-r req] cmdpath argument ...

Description

options are:
-d: run as a daemon
-u user: run as user user. usually web
-r req: used for https support, where req is factotum format of X.509 certificate signing request.

Example

The following lines in "/rc/bin/cpurc" is enough for http and https service.
b=/usr/local/bin/$cputype
$b/mon -du web $b/httpd -suM
c=/sys/lib/tls/cert
k=/sys/lib/tls/key
$b/mon -du web -r $k $b/httpd -suM -p443 -c $c