summaryrefslogtreecommitdiff
path: root/net/gemserv/pkg-message
diff options
context:
space:
mode:
Diffstat (limited to 'net/gemserv/pkg-message')
-rw-r--r--net/gemserv/pkg-message12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/gemserv/pkg-message b/net/gemserv/pkg-message
index a85be73bb969..7de6780bc901 100644
--- a/net/gemserv/pkg-message
+++ b/net/gemserv/pkg-message
@@ -5,23 +5,23 @@ Gemserv gemini server is now installed.
README and UPDATING files from source distribution are installed in:
- /usr/local/share/doc/gemserv/
+ ${PREFIX}/share/doc/gemserv/
Example cgi-scripts are installed in:
- /usr/local/share/examples/gemserv/
+ ${PREFIX}/share/examples/gemserv/
Quick Start:
-1) Check, edit server configuration in /usr/local/etc/gemserv/config.toml
+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 /usr/local/etc/gemserv/key.pem \
- -x509 -days 36500 -out /usr/local/etc/gemserv/cert.pem \
+ 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 /usr/local/etc/gemserv/key.pem
+ chown _gemini ${LOCALBASE}/gemserv/key.pem
3) sysrc gemserv_enable=YES
4) service gemserv start