-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whats the best way to update a server jar for production without stopping/starting & using restart? #167
Comments
mark2 has a What you could do is:
There will be a message in the console telling you the new jar name it will switch to for a sanity check and when it restarts next, it will change to that file. |
TIl there is a .jar command! is it safe to delete the old jar while its still running? |
No, the server must be restarted first
…On Thu, Mar 10, 2022, 8:21 AM Tom Lewis, ***@***.***> wrote:
Open mark2 and run .jar to tell mark2 to change jars at the next restart
TIl there is a .jar command!
is it safe to delete the old jar while its still running?
—
Reply to this email directly, view it on GitHub
<#167 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGKMHOMJZEFA7E4PGD3OPWDU7HZOLANCNFSM5PG7WBRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Just tried running |
That's unrelated to |
Nope, it was the reason! The server was not under stress and there were no errors from any plugins or a crash report, and it happened right after I run that command. |
I have an autoamted restarted every day, If I download a new PurPur, I want to be able to put it somewhere that itll auto update after restart, Ive read that just deleting the old JAR while its still running isnt good practise, and overwriting it is the same thing.
Can this be done with mark2 as its a wrapper? Seems like a job mark2 should do.
When its picking a jar it should be looking for the highest filename number, that would be simple enough.
The text was updated successfully, but these errors were encountered: