Skip to content

add a new location for Russia#57

Open
TOWUK wants to merge 3 commits into
xpdustry:mainfrom
TOWUK:patch-1
Open

add a new location for Russia#57
TOWUK wants to merge 3 commits into
xpdustry:mainfrom
TOWUK:patch-1

Conversation

@TOWUK

@TOWUK TOWUK commented Jun 21, 2026

Copy link
Copy Markdown

server based on 4c75f4b commit (Jun 19)

@TOWUK

TOWUK commented Jun 21, 2026

Copy link
Copy Markdown
Author

I use systemD to run node smoothly, maybe someone knows how to improve it or is it good too?
[Unit]
Description=CLAJ Server
After=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/root/claj
ExecStart=/usr/bin/java -Xms256M -Xmx256M -jar claj-server.jar 1111
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target

@ZetaMap

ZetaMap commented Jun 23, 2026

Copy link
Copy Markdown
Member

mm why not but the name is a little bit too long, "MindCup Russia" is better no?
also why not using a service but a good practice is to avoid a much as possible to run a program as root. you can try to create a user just for that and place the server in a more appropriate folder, instead of the root homedir. or you can use docker if you want.
anyway @lapin-b what do you think about his service file, as you done the same thing?

@ZetaMap ZetaMap added the server location New public server(s) request label Jun 23, 2026
@TOWUK

TOWUK commented Jun 24, 2026

Copy link
Copy Markdown
Author

yes, I know, the practice for the user is their own service, but there is nothing on this machine, and unfortunately I did not study linux well, logging into the same ssh with a key, as indicated by the hoster (from whom I rented a VDS)

@TOWUK

TOWUK commented Jun 24, 2026

Copy link
Copy Markdown
Author

let's do this, you tell me how to do it in linux os - I'll do it and run it, fortunately there are enough resources

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

server location New public server(s) request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants