1
0

update hytale service

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2026-01-17 15:59:24 +01:00
parent 1c167a1250
commit 7b72019211

View File

@@ -12,7 +12,7 @@ WorkingDirectory=/opt/hytale/Server
Environment="JAVA_HOME=/home/mars3142/.sdkman/candidates/java/current"
Environment="PATH=/home/mars3142/.sdkman/candidates/java/current/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/home/mars3142/.sdkman/candidates/java/current/bin/java -jar HytaleServer.jar --assets ../Assets.zip
ExecStart=/home/mars3142/.sdkman/candidates/java/current/bin/java --enable-native-access=ALL-UNNAMED -jar HytaleServer.jar --assets ../File.zip
Restart=on-failure
RestartSec=10
@@ -22,6 +22,7 @@ NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/opt/hytale
ProtectHome=read-only
PrivateTmp=true
[Install]
WantedBy=multi-user.target