forked from lix-project/hydra
Allow a different state directory for hydra-server
This is necessary if hydra-server runs under a different uid than the other Hydra processes.
This commit is contained in:
parent
00e03b9db5
commit
7c048cbbcf
|
@ -55,7 +55,7 @@ __PACKAGE__->config(
|
|||
},
|
||||
'Plugin::Session' => {
|
||||
expires => 3600 * 24 * 7,
|
||||
storage => Hydra::Model::DB::getHydraPath . "/session_data",
|
||||
storage => ($ENV{'HYDRA_SERVER_DATA'} // Hydra::Model::DB::getHydraPath) . "/session_data",
|
||||
unlink_on_exit => 0
|
||||
},
|
||||
'Plugin::AccessLog' => {
|
||||
|
|
Loading…
Reference in a new issue