Skip to content

Commit

Permalink
Merge pull request #5779 from BOINC/vko_fix_boinccmd_on_default_linux…
Browse files Browse the repository at this point in the history
…_package

[linux] set default data directory location to '/var/lib/boinc'.
  • Loading branch information
AenBleidd committed Aug 26, 2024
2 parents df82297 + b64c6aa commit 8ae0805
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/common_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion lib/gui_rpc_client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8ae0805

Please sign in to comment.