Hi,

/var/run (in modern distributions, /run) is removed on reboot, as the
Linux Standard Base specification says. That's expected.

Now, what I do not understand, is why the OP is writing files to
/usr/wt/run. To persist them? If that's the case, then the proper
solution is to either persist the information in the database
(including blobs), or to write to some other directory. Wt uses the
usual C++ I/O features, and the directory to use to persist the
information/files/uploads/whatever can be either hard-coded, or
specified in wt_config.xml

Or maybe the OP wants to do something completely different that I
don't understand?




On Thu, Sep 1, 2011 at 1:10 AM,  <[email protected]> wrote:
>>  /usr/wt/run
> This is a hack, not a solution.
> Anyone knows a solution?
>
>
>
> On 08/31/2011 08:08 AM, PARVINDER RAJPUT wrote:
>> On Wed, Aug 31, 2011 at 6:32 PM, Mohammed Rashad
>> <[email protected]> wrote:
>>> you can change run directory in /etc/wt/wt_config.xml
>>> <run-directory>/var/run/wt</run-directory>
>>> change it to
>>> <run-directory>/usr/wt/run</run-directory>
>>> and also create a dir run in /usr/wt
>>> and give its ownership to www-data
>> Thanks i will try
>> Parvinder Rajput
>> website:- www.parvinder.co.in
>>
>> ------------------------------------------------------------------------------
>> Special Offer -- Download ArcSight Logger for FREE!
>> Finally, a world-class log management solution at an even better
>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
>> download Logger. Secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsisghtdev2dev
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>



-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to