[DiscordArchive] HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I m
[DiscordArchive] HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I m
Archived author: Tanados • Posted: 2022-05-18T18:39:22.735000+00:00
Original source
HI guys about last night's stop/update/start script this is what I make can I improve it? Or did I make any mistakes?
update.sh
Archived author: Kitzunu • Posted: 2022-05-18T18:57:43.839000+00:00
Original source
improvement 1:
Archived author: Kitzunu • Posted: 2022-05-18T18:57:49.510000+00:00
Original source
dont use tabs, use 4 spaces instead
Archived author: Tanados • Posted: 2022-05-18T19:14:03.878000+00:00
Original source
Thank you for your reply i will fix it
Archived author: Revision • Posted: 2022-05-18T19:23:32.568000+00:00
Original source
Yeah, I can't read it because tabs are a cancer.
Archived author: Revision • Posted: 2022-05-18T19:27:51.929000+00:00
Original source
Notes:
Your `Realm will shutdown after 5mins!` is wrong, you set it to shutdown after 60 minutes, not 5.
You should increase the sleep after sending `server shutdown 3600` to make sure the server successfully saves everything and shuts down before you actually kill it. It doesn't require much more.
Archived author: Revision • Posted: 2022-05-18T19:30:08.536000+00:00
Original source
I also take it you, for whatever reason, want to update each realm independently and not at the same time which to me makes more sense. Just pointing that out to make sure that's actually what you want. I'm not judging your choice, it's a good choice, just curious as to why it was made.
Archived author: whipowill • Posted: 2022-05-18T20:01:11.792000+00:00
Original source
spaces > tabs
Archived author: Tanados • Posted: 2022-05-21T10:25:40.297000+00:00
Original source
https://github.com/helldragonpz/AcoreSto.../update.sh
Here is what is happening in the end
Not the best code but for my first script... I hope is good enough
To answer your question this is my choice cose the pc I use is not so great at dealing with compiling especially with 2 at the same time (it's taking him too much time like 30mins) but if he does it 1 by one it takes the machine-like 4-5 mins for a piece.
Thank you once again for your reply
If you think I can make it better if I can include something I will be greagrateful you just pm me to add or fix something
I love to learn new things
[Embed: AcoreStopUpdateStart/update.sh at main · helldragonpz/AcoreStopUpda...]
This an small azerothcore stop/update/start script - AcoreStopUpdateStart/update.sh at main · helldragonpz/AcoreStopUpdateStart
https://github.com/helldragonpz/AcoreSto.../update.sh
Archived author: Revision • Posted: 2022-05-21T20:07:58.154000+00:00
Original source
360 seconds is 6 minutes, not 5.