mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-16 16:35:11 +00:00
added systemd to readme
This commit is contained in:
parent
05606501af
commit
57aa595d11
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -20,6 +20,20 @@ dotnet run --project Server/Server.csproj -c Release
|
||||||
```
|
```
|
||||||
If you ran `dotnet build` instead of `dotnet run`, you can find the binary at `Server/bin/net6.0/Release/Server.exe`
|
If you ran `dotnet build` instead of `dotnet run`, you can find the binary at `Server/bin/net6.0/Release/Server.exe`
|
||||||
|
|
||||||
|
## Run under systemd
|
||||||
|
|
||||||
|
If you have systemd, you can use the existing systemd serivce.
|
||||||
|
|
||||||
|
1. cp smo.serivce /etc/systemd/system/smo.service
|
||||||
|
2. edit ExecStart to your path for the server executable
|
||||||
|
3. chmod +x filepath to the server executable
|
||||||
|
4. systemctl enable --now smo.service
|
||||||
|
|
||||||
|
**Known issues**
|
||||||
|
1. discord bot doesn't work, if you want to use a discord bot use screen or something that can keep the process running
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue