aboutsummaryrefslogtreecommitdiffstats
path: root/net/gemserv/pkg-message
blob: 7de6780bc901e20dea476c3031f5cbf6b5a28c93 (plain) (blame)
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
27
28
29
30
31
[
{ type: install
  message: <<EOM
Gemserv gemini server is now installed.

README and UPDATING files from source distribution are installed in:

    ${PREFIX}/share/doc/gemserv/

Example cgi-scripts are installed in:

    ${PREFIX}/share/examples/gemserv/

Quick Start:

1) Check, edit server configuration in ${LOCALBASE}/gemserv/config.toml
   (see config.toml-dist for all configuration options)
2) Generate TLS key and cert, i.e. for domain "gemini.example.net":

    openssl req -newkey rsa:4096 -nodes -keyout ${LOCALBASE}/gemserv/key.pem  \
                         -x509 -days 36500 -out ${LOCALBASE}/gemserv/cert.pem \
      -subj "/C=FR/ST=FR/L=FR/O=example.net/OU=IT/CN=gemini.example.net/emailAddress=root@example.net"

    chown _gemini ${LOCALBASE}/gemserv/key.pem

3) sysrc gemserv_enable=YES
4) service gemserv start
5) tail /var/log/messages
EOM
}
]