Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Files in webapp temp dir (in /tmp) were deleted by tmpwatch

Hi,

You can configure the temp dir for your webapps using wepappcontext.settempdir method (forgive poor camel case, I'm typing this on my mobile).

Regards,
Jan

On 21/01/2014 4:50 PM, "Zen Zhong" <zenzhong8383@xxxxxxxxx> wrote:
Hi,

On our staging environment (CentOS 6, jetty-9.1.0), I found this issue before and I set up auditd, and this time, I found the command deleted the important files, it's tmpwatch. I've added "-X '/tmp/jetty*'" in /etc/cron.daily/tmpwatch as a workaround for now.

Maybe it's better to put webapp temp dir in ${jetty.home}.

Thanks

_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top