aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-10-17 20:35:54 +0200
committerGitHub <[email protected]>2023-10-17 20:35:54 +0200
commitd3e396f7ecd3bcf2df30d2ba203b3548cf6ab5e0 (patch)
tree1ff10db41dc5ba53896ebb7cab1ff840010351ba /src/zenserver/config.h
parentremoved unnecessary vector in ZenCacheMemoryLayer::Drop (diff)
downloadzen-d3e396f7ecd3bcf2df30d2ba203b3548cf6ab5e0.tar.xz
zen-d3e396f7ecd3bcf2df30d2ba203b3548cf6ab5e0.zip
added command line option to start server clean (#481)
when specified with `--clean`, the data directory will be wiped clean at startup
Diffstat (limited to 'src/zenserver/config.h')
-rw-r--r--src/zenserver/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenserver/config.h b/src/zenserver/config.h
index fecf3fe0c..3006b0e15 100644
--- a/src/zenserver/config.h
+++ b/src/zenserver/config.h
@@ -128,6 +128,7 @@ struct ZenServerOptions
bool InstallService = false; // Flag used to initiate service install (temporary)
bool UninstallService = false; // Flag used to initiate service uninstall (temporary)
bool IsDebug = false;
+ bool IsCleanStart = false; // Indicates whether all state should be wiped on startup or not
bool IsTest = false;
bool IsDedicated = false; // Indicates a dedicated/shared instance, with larger resource requirements
bool ShouldCrash = false; // Option for testing crash handling