]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Use /var/lib/freeswitch as home directory on Debian
authorTravis Cross <tc@traviscross.com>
Tue, 18 Dec 2012 17:42:47 +0000 (17:42 +0000)
committerTravis Cross <tc@traviscross.com>
Tue, 18 Dec 2012 17:43:04 +0000 (17:43 +0000)
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>
debian/freeswitch.postinst

index 444c602bc4a6c20b6ebe33db58922f1d1eca5b13..6f024b726fe283e090be8d820d078abbdbdb6b82 100644 (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' \