summaryrefslogtreecommitdiff
path: root/network/ejabberd/README.SBo
blob: 747f79d7fa04f35d8419b97c4760e753a120dfff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
In order to start ejabberd at boot and stop it properly at shutdown,
make sure rc.local and rc.local_shutdown contain the following lines:

  /etc/rc.d/rc.local
  ==================
  # Start ejabberd
  if [ -x /etc/rc.d/rc.ejabberd ]; then
    /etc/rc.d/rc.ejabberd  start
  fi

  /etc/rc.d/rc.local_shutdown
  ===========================
  # Stop ejabberd
  if [ -x /etc/rc.d/rc.ejabberd ]; then
    /etc/rc.d/rc.ejabberd stop
  fi