aboutsummaryrefslogtreecommitdiff
path: root/network/gmid/README
blob: 6bcce2cc2f0dba9050b5189be480890e8a002cc4 (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
25
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:

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