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
chmod +x filepath to the server executable
systemctl enable --now smo.service
# for TTY access i would recommand conspy but there is also reptyr, chvt
```
## Run docker image

View File

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