forked from Mirrors/freeswitch
Improve init error message when FS is unconfigured
Depending on which packages are installed, the README.Debian file might not be there, so we'll spell out the instructions more directly.
This commit is contained in:
parent
1190e59adf
commit
b0050f519e
4
debian/freeswitch-sysvinit.freeswitch.init
vendored
4
debian/freeswitch-sysvinit.freeswitch.init
vendored
@ -35,7 +35,9 @@ WORKDIR=/var/lib/$NAME
|
||||
do_start() {
|
||||
if ! [ -f $CONFDIR/freeswitch.xml ]; then
|
||||
echo "$NAME is not configured so not starting.">&2
|
||||
echo "Please review /usr/share/doc/$NAME/README.Debian">&2
|
||||
echo "Please add configuration under /etc/freeswitch">&2
|
||||
echo "e.g. Install freeswitch-conf-vanilla, then:">&2
|
||||
echo "cp -a /usr/share/freeswitch/conf/vanilla /etc/freeswitch">&2
|
||||
return 3
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user