[arm-allstar] LOG after reboot !

Doug Crompton wa3dsp at gmail.com
Sat Dec 22 09:51:24 EST 2018


Luc,

 I think what you have to do is create a symbolic link in that directory to
the new directory. Something like -

ln -s  /media/NODE1415 /var/log/asterisk/cdr-csv/

Both directories have to exist when you do this so it would have to be done
after Asterisk starts. This could go in /etc/rc.local after rc.allstar. I
have not tried it so you will have to experiment. There might be a better
way but if it works go for it.


*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