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:
commit
d804145724
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue