aboutsummaryrefslogtreecommitdiff
path: root/network/gmid/README
blob: 263b79c496dd45fa72439a317f04d6301e06d41a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
It can serve static files, has optional FastCGI and proxying support,
and a rich configuration syntax.

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

The service is configured to run as the 'gmid' user. To add this user:

  useradd gmid \
    --comment 'gmid gemini server' \
    --gid 387 \
    --home-dir /srv/gmid \
    --system \
    --uid 387