Addons Important Advisory

A nice, warm, and cozy place for all third-party developers to congregate.

Addons Important Advisory

Postby super-poussin » Wed Mar 11, 2009 2:36 am

Hi Guys,

Some addons like the official's Twonky Addons in 5.X and SqueezeCenter Add-ons can make the root of you NAS being full , in this case your NAS will become unresponsive and you will need to call support.

I have modified last Twonly Addons to avoid this problem, but take care of add-ons in particular when they have a debug or log option.

People who wants to develop add-ons must not write in the / or /tmp or /var ..., if the software require to write in such place please make a symbolic link to another place like /c/webroot/addons-name/logs for example
If you like my add-ons - Si vous aimez mes add-ons :
EN/US:Image --- -------- FR: Image or Paypal @mail: readynas@orange.fr
Where I'm teaching
4B Perros
User avatar
super-poussin
ReadyNAS Add-ons Expert
 
Posts: 5144
Joined: Fri Jul 13, 2007 1:16 pm
Location: PG
ReadyNAS: RN516

Re: Addons Important Advisory

Postby pnetz » Thu Jul 02, 2009 2:44 pm

Addons developers might also use logrotate to handle this properly.

It is really simple to setup...

Code: Select all
apt-cache show logrotate


Code: Select all
# cat /etc/logrotate.d/tinyproxy
/var/log/tinyproxy.log {
    rotate 14
    daily
    compress
    missingok
    postrotate
        /etc/init.d/tinyproxy restart > /dev/null
    endscript
}


Just a hint... :wink:
pnetz
ReadyNAS Newbie
 
Posts: 25
Joined: Sat Jun 20, 2009 2:59 am
Location: Innsbruck, Austria
ReadyNAS: Duo


Return to ReadyNAS Developers Network



Who is online

Users browsing this forum: No registered users and 2 guests