[arm-allstar] LOG after reboot !
Doug Crompton
wa3dsp at gmail.com
Sat Dec 22 10:13:39 EST 2018
Luc,
Actually thinking about this I think you want to create these directories
BEFORE asterisk starts,
In /etc/rc.local BEFORE rc.allstar -
mkdir /var/log/asterisk
mkdir /var/log/asterisk/cdr-csv
ln -s /media/NODE1415 /var/log/asterisk/cdr-csv/
Normally in a non tmp filesytem environment Asterisk would have these
directories at boot. So what you are doing here is creating them and
creating a symbolic link so Allstar sees the /var/log/asterisk/cdr-csv
directory as /media.NODE1415. Anything it places in
/var/log/asterisk/cdr-csv would actually be written to /media/NODE1415.
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
On Sat, Dec 22, 2018 at 9:09 AM "Luc Drolet VE2LUQ via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Hello to you,
>
> Maybe you can help me, Everything works fine with my LOG file which is put
> in my /var/log/asterisk/cdr-csv/masters.csv file
>
> I noticed one thing, every time I made a reboot I lost all my information
> in my masters.csv file?
>
> can we keep this information after a reboot?
>
> and not to overload the Rasperry PI SD card CARD
> I would like this information to be placed on my USB key, because I think
> it is not advisable to write several times on the SD Card is it possible!
> that's why I want to put it on the USB stick
> I'm doing well
> mkdir / media/NODE1415/LOG
> i can create the cdr-csv file on the USB stick, but the master.csv file
> never appears?
>
> thank you to all of you
> and good holiday season
>
> 73’s
> Luc
> VE2LUQ
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the ARM-allstar
mailing list