summaryrefslogtreecommitdiffstats
path: root/wsd/LOOLWSD.hpp
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2020-06-28 11:30:22 -0400
committerAshod Nakashian <ashnakash@gmail.com>2020-07-01 06:14:39 +0200
commit9a427524d11908e2b8c475e7c6328563f300f076 (patch)
tree165c97fb6c90cb4c55a0fd184d3211554c2254d0 /wsd/LOOLWSD.hpp
parentwsd: faster jail setup via bind-mount (diff)
downloadonline-9a427524d11908e2b8c475e7c6328563f300f076.tar.gz
online-9a427524d11908e2b8c475e7c6328563f300f076.zip
wsd: support --cleanup in loolwsd
Leaving behind jails with bind-mount entries makes build-workspace removal complicated, and jenkins builds start failing. The cleanup stage is integrated in Makefiles and should be transparent. In the event that manual cleanup is necessary, 'loolwsd --cleanup' can be invoked. Change-Id: Ia4b99b0c66e56dfa2d50e79b0ba98f714cf32886 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97470 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'wsd/LOOLWSD.hpp')
-rw-r--r--wsd/LOOLWSD.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/wsd/LOOLWSD.hpp b/wsd/LOOLWSD.hpp
index bbc6bc4306..654546d305 100644
--- a/wsd/LOOLWSD.hpp
+++ b/wsd/LOOLWSD.hpp
@@ -245,6 +245,7 @@ public:
static std::string LogLevel;
static bool AnonymizeUserData;
static bool CheckLoolUser;
+ static bool CleanupOnly;
static bool IsProxyPrefixEnabled;
static std::atomic<unsigned> NumConnections;
static std::unique_ptr<TraceFileWriter> TraceDumper;