aboutsummaryrefslogtreecommitdiff
path: root/gmid/README
blob: cbd4fdcefbec99e8a3ab061316d49b910aad41a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
gmid is a server for the Gemini protocol.  It has various features, among which
Capsicum support and a "config-less" mode akin to "python -m http.server" to
quickly serve local directories from the shell.

This setup differs from the project's standard by avoiding to run the service
as root.  It comes at the cost of not supporting 'chroot'.

To have the gmid daemon start and stop with your host,
add to /etc/rc.d/rc.local:

  if [ -x /etc/rc.d/rc.gmid ]; then
    /etc/rc.d/rc.gmid start
  fi

and to /etc/rc.d/rc.local_shutdown (creating it if needed):

  if [ -x /etc/rc.d/rc.gmid ]; then
    /etc/rc.d/rc.gmid stop
  fi