diff options
author | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2013-03-06 12:53:34 +0000 |
---|---|---|
committer | olavmrk <olavmrk@a716ebb1-153a-0410-b759-cfb97c6a1b53> | 2013-03-06 12:53:34 +0000 |
commit | 5ba60b7ad9f9eff2a7eabcf39c05de6e3e6d8437 (patch) | |
tree | 0b11817217a6ec917ce0139bf129b16eedc87742 /auth_mellon_config.c | |
parent | 71082f1563306824d364650b702ba0470b3c8c67 (diff) | |
download | mod_auth_mellon-5ba60b7ad9f9eff2a7eabcf39c05de6e3e6d8437.tar.gz mod_auth_mellon-5ba60b7ad9f9eff2a7eabcf39c05de6e3e6d8437.tar.xz mod_auth_mellon-5ba60b7ad9f9eff2a7eabcf39c05de6e3e6d8437.zip |
Change lock file to be stored in /var/run.
The current code defaults to storing the lock file in /tmp. This patch
changes the default to /var/run, which is where such files belong.
Note that this lock file is only required on some platforms.
git-svn-id: https://modmellon.googlecode.com/svn/trunk@176 a716ebb1-153a-0410-b759-cfb97c6a1b53
Diffstat (limited to 'auth_mellon_config.c')
-rw-r--r-- | auth_mellon_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth_mellon_config.c b/auth_mellon_config.c index 793d7af..7e103cc 100644 --- a/auth_mellon_config.c +++ b/auth_mellon_config.c @@ -1479,7 +1479,7 @@ void *auth_mellon_server_config(apr_pool_t *p, server_rec *s) mod = apr_palloc(p, sizeof(*mod)); mod->cache_size = 100; /* ought to be enough for everybody */ - mod->lock_file = "/tmp/mellonLock"; + mod->lock_file = "/var/run/mod_auth_mellon.lock"; mod->post_dir = post_dir; mod->post_ttl = post_ttl; mod->post_count = post_count; |