update hytale service
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user