2013-04-28 22:43:08 +08:00
|
|
|
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
|
2016-11-15 21:09:43 +08:00
|
|
|
if [ -x /etc/rc.d/rc.prosody ]; then
|
|
|
|
/etc/rc.d/rc.prosody start
|
2013-04-28 22:43:08 +08:00
|
|
|
fi
|
|
|
|
|
|
|
|
/etc/rc.d/rc.local_shutdown
|
|
|
|
===========================
|
|
|
|
# Stop prosody
|
2016-11-15 21:09:43 +08:00
|
|
|
if [ -x /etc/rc.d/rc.prosody ]; then
|
|
|
|
/etc/rc.d/rc.prosody stop
|
2013-04-28 22:43:08 +08:00
|
|
|
fi
|
2017-10-05 00:48:53 +08:00
|
|
|
|