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:
parent
c3e3f818e8
commit
c79509a367
|
@ -8,7 +8,7 @@ case "$1" in
|
||||||
fi
|
fi
|
||||||
if ! getent passwd freeswitch >/dev/null; then
|
if ! getent passwd freeswitch >/dev/null; then
|
||||||
useradd --system -g freeswitch -Gaudio \
|
useradd --system -g freeswitch -Gaudio \
|
||||||
-d /var/run/freeswitch \
|
-d /var/lib/freeswitch \
|
||||||
-s /bin/false \
|
-s /bin/false \
|
||||||
-e '' \
|
-e '' \
|
||||||
-c 'FreeSWITCH' \
|
-c 'FreeSWITCH' \
|
||||||
|
|
Loading…
Reference in New Issue