summaryrefslogtreecommitdiffstats
path: root/network/prosody/README.SBo
diff options
context:
space:
mode:
Diffstat (limited to 'network/prosody/README.SBo')
-rw-r--r--network/prosody/README.SBo16
1 files changed, 16 insertions, 0 deletions
diff --git a/network/prosody/README.SBo b/network/prosody/README.SBo
new file mode 100644
index 0000000000..f5a75cd65c
--- /dev/null
+++ b/network/prosody/README.SBo
@@ -0,0 +1,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