mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-14 21:56:41 +01:00
da2f50918e
Signed-off-by: Gerardo Zamudio <gerardo.zamudio@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
17 lines
417 B
Text
17 lines
417 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
|
|
|