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:
Vitalii Koshura 2024-08-26 03:26:56 +02:00 committed by GitHub
commit 8ae0805a56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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.