mirror of https://github.com/BOINC/boinc.git
Merge pull request #5779 from BOINC/vko_fix_boinccmd_on_default_linux_package
[linux] set default data directory location to '/var/lib/boinc'.
This commit is contained in:
commit
8ae0805a56
|
@ -420,7 +420,7 @@ struct DEVICE_STATUS {
|
|||
// You can define this in "configure" if you want.
|
||||
//
|
||||
#ifndef LINUX_DEFAULT_DATA_DIR
|
||||
#define LINUX_DEFAULT_DATA_DIR "/var/lib/boinc-client"
|
||||
#define LINUX_DEFAULT_DATA_DIR "/var/lib/boinc"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -409,7 +409,7 @@ int RPC::parse_reply() {
|
|||
// Linux: look in:
|
||||
// - current dir
|
||||
// - a directory specified in /etc/boinc-client/config.properties
|
||||
// - /var/lib/boinc-client
|
||||
// - /var/lib/boinc
|
||||
//
|
||||
// Note: the Manager (on all platforms) has a -datadir cmdline option.
|
||||
// If present, it chdirs to that directory.
|
||||
|
|
Loading…
Reference in New Issue