Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Where to put an application database?

by DrHyde (Prior)
on Oct 17, 2014 at 11:12 UTC ( [id://1104168]=note: print w/replies, xml ) Need Help??


in reply to Where to put an application database?

If you think that stuff getting blown away from /tmp isn't the case so much any more then you're in for a nasty surprise.

However, if your code isn't running as root, the logical place to put its data is in the application's home directory. It's fairly common for significant applications to have their own user, which has a home directory somewhere outside /home. For example my mail sewer runs as ...

Debian-exim:x:105:105::/var/spool/exim4:/bin/false

Note the home directory. Obviously this sort of thing has to be set up by root, but the application need not run as root.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1104168]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found