summaryrefslogtreecommitdiff
path: root/network/prosody/README.SBo
blob: f5a75cd65c27fa2645167285526ea5bbe5f22844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
In order to start prosody 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
	==================
	# Startup prosody
	if [ -x /usr/bin/prosodyctl ]; then
		lua /usr/bin/prosodyctl  start
	fi

	/etc/rc.d/rc.local_shutdown
	===========================
	# Stop prosody
	if [ -x /usr/bin/prosodyctl ]; then
		lua /usr/bin/prosodyctl stop
	fi