summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osdep/OSUtils.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/osdep/OSUtils.cpp b/osdep/OSUtils.cpp
index e6c2f940..1e704d45 100644
--- a/osdep/OSUtils.cpp
+++ b/osdep/OSUtils.cpp
@@ -399,6 +399,10 @@ std::string OSUtils::platformDefaultHomePath()
return homeDir;
#endif
+#ifdef __SYNOLOGY__
+ return std::string("/var/packages/zerotier/target/var");
+#endif
+
// Check for user-defined environment variable before using defaults
#ifdef __WINDOWS__
DWORD bufferSize = 65535;