X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 25067DC060C for ; Sun, 13 Apr 2014 08:28:50 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id j17so7804157oag.26 for ; Sun, 13 Apr 2014 01:28:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-type; bh=M8tWQFS6EK9BUVp88UqmajGPH3JnmonAh64SX9yMEqw=; b=QQKtaiqQF9osX+HzHAYgQkuImj6Ot7jcpLVhUjbCqGMxcfLgHh/JdQ3BelCw1CeFkk 94ynXdeG1kiZQtfmlDi3a7BIj4MOomZVoBfXjED7GayVgEblfDYhWHzWDOAX/FVPIjhS ktVjz7bKKYC2jz47DHmqH/MHFQExMMBp9jSM2pqZe7ghi6GBYCK/QGnoIaagWzy6lJDN lc6CG9aP5rSHx3EB3q/38kNQLHEzmRV18fsT0OWsJUKa19O72oVvuL3SNMsIokcZ+ZyR XoOmqAMzSqbZ9Tj8PSbQhgug6ZSTWxZQUIN5LgUjOU3MTTWxf87M+u5pOa8F1bx1tB9F F95w== X-Gm-Message-State: ALoCoQmaa3HbKjt3H5fqOd+K8ZalS7gnSr84Hl/RvK2mA3yPqJ1j6japrZVPhgbRsO2QW4oXBPr5 X-Received: by 10.182.29.225 with SMTP id n1mr17439991obh.2.1397377730635; Sun, 13 Apr 2014 01:28:50 -0700 (PDT) Received: from tobies-mac-pro.home.hindbra.in ([24.35.135.28]) by mx.google.com with ESMTPSA id g4sm3895938obg.9.2014.04.13.01.28.49 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Apr 2014 01:28:50 -0700 (PDT) Date: Sun, 13 Apr 2014 03:37:01 -0500 From: Tobie Booth To: Der Tiger , Natanael Copa Cc: alpine-devel@lists.alpinelinux.org Message-ID: In-Reply-To: <20140413075957.497c6499@ncopa-desktop.alpinelinux.org> References: <1397371981-3308-1-git-send-email-tbooth@hindbra.in> <534A3DA7.6090609@arcor.de> <20140413075957.497c6499@ncopa-desktop.alpinelinux.org> Subject: Re: [alpine-devel] [PATCH] Updated freeswitch.initd to include missing path switches. X-Mailer: Airmail Beta (234) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="534a4cae_1f16e9e8_134" --534a4cae_1f16e9e8_134 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I definitely think that would be the way to go.=C2=A0 The problem is, in my mind (possibly spoiled by other distros) I expect t= o install freeswitch, freeswitch-sample-config, and freeswitch-sounds-* a= nd have at least voicemail and other basic apps. However they fail and cr= ash due to the incorrect file paths. Do you guys agree/disagree with this= thought process=3F=C2=A0 Unfortunately they can only be changed globally via the switches. > On April 13, 2014 at 3:00:02 AM, Natanael Copa (ncopa=40alpinelinux.org= ) wrote: > On Sun, 13 Apr 2014 09:32:55 +0200 =20 > Der Tiger wrote: =20 >> Hi, =20 >> =20 >> In order to make those switches adjustable by the user, I suggest to s= et =20 >> them in /etc/conf.d/freeswitch utilizing the =24=7BOPTS=7D variable in= the =20 >> init.d script rather than make them hard-coded in /etc/init.d/freeswit= ch =20 >> itself, because some folks my want to store recordings on a different = =20 >> drive or use their own set of grammar and voice files. =20 > Yes, and it will break things for those who actually have things stored= =20 > other location. =20 > Maybe we should introduce variables with sane values: =20 > -recordings =24=7Brecordings=5Fdir:-/var/lib/freeswitch/recordings=7D =5C= =20 > -grammar =24=7Bgrammar=5Fdir:-/var/lib/freeswitch/grammar=7D =5C =20 > -sounds =24=7Bsounds=5Fdir:-/usr/share/freeswitch/sounds=7D=C2=A0=5C =20 > -storage =24=7Bstorage=5Fdir:-/var/lib/freeswitch=7D =5C=C2=A0 > =24=7BOPTS=7D =20 --534a4cae_1f16e9e8_134 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline