0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-18 17:25:14 +00:00

Merge pull request #17 from Sanae6/master

[pull] upstream from Sanae6:master
This commit is contained in:
Piplup 2022-08-04 01:06:02 +01:00 committed by GitHub
commit d804145724
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -29,6 +29,7 @@ cp smo.serivce /etc/systemd/system/smo.service
# edit ExecStart to your path for the server executable and change WorkingDirectory to the server directory # edit ExecStart to your path for the server executable and change WorkingDirectory to the server directory
chmod +x filepath to the server executable chmod +x filepath to the server executable
systemctl enable --now smo.service systemctl enable --now smo.service
# for TTY access i would recommand conspy but there is also reptyr, chvt
``` ```
## Run docker image ## Run docker image

View file

@ -14,6 +14,11 @@ WorkingDirectory=/home/user/SMOServer/
Restart=always Restart=always
# amount of time to wait before restarting the service # amount of time to wait before restarting the service
RestartSec=5 RestartSec=5
#TTY Input
StandardInput=tty-force
TTYVHangup=yes
TTYPath=/dev/tty20
TTYReset=yes
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target