mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
17 lines
420 B
Text
17 lines
420 B
Text
|
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
|