Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] I'll give you my scripts now, is it systemd?

[DiscordArchive] I'll give you my scripts now, is it systemd?

[DiscordArchive] I'll give you my scripts now, is it systemd?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-29-2024, 12:45 PM
#1
Archived author: helenah1734 • Posted: 2024-06-29T12:45:40.552000+00:00
Original source

I'll give you my scripts now, is it systemd?
rektbyfaith
06-29-2024, 12:45 PM #1

Archived author: helenah1734 • Posted: 2024-06-29T12:45:40.552000+00:00
Original source

I'll give you my scripts now, is it systemd?

rektbyfaith
Administrator
0
06-29-2024, 12:46 PM
#2
Archived author: helenah1734 • Posted: 2024-06-29T12:46:15.354000+00:00
Original source

Anyway, mine runs worldserver in a tmux session, why? Because then systemd can tell the server to cleanly shut down when you stop the service which warns the players.
rektbyfaith
06-29-2024, 12:46 PM #2

Archived author: helenah1734 • Posted: 2024-06-29T12:46:15.354000+00:00
Original source

Anyway, mine runs worldserver in a tmux session, why? Because then systemd can tell the server to cleanly shut down when you stop the service which warns the players.

rektbyfaith
Administrator
0
06-29-2024, 12:46 PM
#3
Archived author: helenah1734 • Posted: 2024-06-29T12:46:38.484000+00:00
Original source


worldserver.service
rektbyfaith
06-29-2024, 12:46 PM #3

Archived author: helenah1734 • Posted: 2024-06-29T12:46:38.484000+00:00
Original source


worldserver.service

rektbyfaith
Administrator
0
06-29-2024, 12:48 PM
#4
Archived author: ttopper • Posted: 2024-06-29T12:48:16.861000+00:00
Original source

yeah it's systemd
rektbyfaith
06-29-2024, 12:48 PM #4

Archived author: ttopper • Posted: 2024-06-29T12:48:16.861000+00:00
Original source

yeah it's systemd

rektbyfaith
Administrator
0
06-29-2024, 12:48 PM
#5
Archived author: ttopper • Posted: 2024-06-29T12:48:19.785000+00:00
Original source

ty!
rektbyfaith
06-29-2024, 12:48 PM #5

Archived author: ttopper • Posted: 2024-06-29T12:48:19.785000+00:00
Original source

ty!

rektbyfaith
Administrator
0
06-29-2024, 12:48 PM
#6
Archived author: helenah1734 • Posted: 2024-06-29T12:48:37.583000+00:00
Original source

So place that in /etc/systemd/system, then do something like **systemctl enable worldserver@realm_name** then **systemctl start worldserver@realm_name**, you will want to go through the file to change the pathing, if you don't want it to end in a realm name, you just need to rename that file from **[email protected]** to **worldserver.service**, then it can only ever be responsible for one worldserver.
rektbyfaith
06-29-2024, 12:48 PM #6

Archived author: helenah1734 • Posted: 2024-06-29T12:48:37.583000+00:00
Original source

So place that in /etc/systemd/system, then do something like **systemctl enable worldserver@realm_name** then **systemctl start worldserver@realm_name**, you will want to go through the file to change the pathing, if you don't want it to end in a realm name, you just need to rename that file from **[email protected]** to **worldserver.service**, then it can only ever be responsible for one worldserver.

rektbyfaith
Administrator
0
06-29-2024, 12:48 PM
#7
Archived author: helenah1734 • Posted: 2024-06-29T12:48:59.562000+00:00
Original source

OH, and check for %i in that file, this is the variable that gets assigned the value after the @ sign.
rektbyfaith
06-29-2024, 12:48 PM #7

Archived author: helenah1734 • Posted: 2024-06-29T12:48:59.562000+00:00
Original source

OH, and check for %i in that file, this is the variable that gets assigned the value after the @ sign.

rektbyfaith
Administrator
0
06-29-2024, 12:50 PM
#8
Archived author: helenah1734 • Posted: 2024-06-29T12:50:41.324000+00:00
Original source

Anyway, regarding warning the players, when you stop the service, the players will get a countdown, systemd will wait on the process to terminate gracefully.
rektbyfaith
06-29-2024, 12:50 PM #8

Archived author: helenah1734 • Posted: 2024-06-29T12:50:41.324000+00:00
Original source

Anyway, regarding warning the players, when you stop the service, the players will get a countdown, systemd will wait on the process to terminate gracefully.

rektbyfaith
Administrator
0
06-29-2024, 12:52 PM
#9
Archived author: helenah1734 • Posted: 2024-06-29T12:52:24.008000+00:00
Original source

Also, please let me know if you are understanding the script, I'm here to help, I can explain anything in there.
rektbyfaith
06-29-2024, 12:52 PM #9

Archived author: helenah1734 • Posted: 2024-06-29T12:52:24.008000+00:00
Original source

Also, please let me know if you are understanding the script, I'm here to help, I can explain anything in there.

rektbyfaith
Administrator
0
06-29-2024, 12:54 PM
#10
Archived author: ttopper • Posted: 2024-06-29T12:54:02.771000+00:00
Original source

ty, i think i got it
rektbyfaith
06-29-2024, 12:54 PM #10

Archived author: ttopper • Posted: 2024-06-29T12:54:02.771000+00:00
Original source

ty, i think i got it

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)