Use /var/lib/freeswitch as home directory on Debian

Previously we were using /var/run/freeswitch.

Julian pointed out that someone may actually want to keep information
around in the home directory.  For Gemeinschaft they need to keep the
.odbc.ini file here.

Thanks-to: Julian Pawlowski <julian.pawlowski@gmail.com>
This commit is contained in:
Travis Cross 2012-12-18 17:42:47 +00:00
parent c3e3f818e8
commit c79509a367
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ case "$1" in
fi
if ! getent passwd freeswitch >/dev/null; then
useradd --system -g freeswitch -Gaudio \
-d /var/run/freeswitch \
-d /var/lib/freeswitch \
-s /bin/false \
-e '' \
-c 'FreeSWITCH' \