[DiscordArchive] Can send some guidance ?
[DiscordArchive] Can send some guidance ?
Archived author: Tanados • Posted: 2022-05-17T15:58:35.486000+00:00
Original source
Can send some guidance ?
Archived author: Ruderalis • Posted: 2022-05-17T15:59:33.959000+00:00
Original source
This seems smarter (:
Archived author: Tanados • Posted: 2022-05-17T16:01:21.636000+00:00
Original source
Yea on theory is look great but in practic i have no clue how to do it :X
Archived author: Tanados • Posted: 2022-05-17T16:01:43.391000+00:00
Original source
That's why i ask for some guidance (tutorial)
Archived author: Ruderalis • Posted: 2022-05-17T16:01:44.465000+00:00
Original source
Neither do I tbh ('x
Archived author: Revision • Posted: 2022-05-17T16:02:32.853000+00:00
Original source
I haven't done it enough to know exactly how to do it, but give me a few minutes and I'll give you some guidance.
Archived author: Ruderalis • Posted: 2022-05-17T16:02:49.904000+00:00
Original source
That's Nice thank you !
Archived author: Tanados • Posted: 2022-05-17T16:02:58.702000+00:00
Original source
Thank you very much
Archived author: Revision • Posted: 2022-05-17T16:06:50.787000+00:00
Original source
If you create a file inside `/etc/init.d`, for example `/etc/init.d/azerothcore`, and place the following code inside it but edit `WorkingDirectory` and the end of `ExecStart`
```
[Unit]
Description=AzerothCore
After=mysql.service
[Service]
WorkingDirectory=/full/path/to/script/folder
ExecStart= /bin/bash /full/path/to/script.sh
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target
```
You have to run `sudo systemctl daemon-reload`, or without sudo if you're using the root user, to trigger the service to be activated.
Archived author: Revision • Posted: 2022-05-17T16:07:53.644000+00:00
Original source
You might have to name it `azerothcore.service`, but I need to look into the path of where the place the file to make sure