diff options
| author | Stefan Boberg <[email protected]> | 2023-10-17 20:35:54 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-17 20:35:54 +0200 |
| commit | d3e396f7ecd3bcf2df30d2ba203b3548cf6ab5e0 (patch) | |
| tree | 1ff10db41dc5ba53896ebb7cab1ff840010351ba /src/zenserver/config.h | |
| parent | removed unnecessary vector in ZenCacheMemoryLayer::Drop (diff) | |
| download | zen-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.h | 1 |
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 |