lodestone_core
lodestone_core copied to clipboard
Ensure only one instance of core is running at the same time
Add a lock file in a standard place and try to acquire it before starting, if we fail to acquire the lock, return an error.
Make sure the file is unlocked when the process exit