mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
a88e3d7acb
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
16 lines
416 B
Text
16 lines
416 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 /etc/rc.d/rc.prosody ]; then
|
|
/etc/rc.d/rc.prosody start
|
|
fi
|
|
|
|
/etc/rc.d/rc.local_shutdown
|
|
===========================
|
|
# Stop prosody
|
|
if [ -x /etc/rc.d/rc.prosody ]; then
|
|
/etc/rc.d/rc.prosody stop
|
|
fi
|