|
|
|
@ -19,5 +19,5 @@ InaccessibleDirectories=/root /sys /srv -/opt /media -/lost+found
|
|
|
|
|
ReadOnlyDirectories={{ installation_directory }}
|
|
|
|
|
ReadWriteDirectories={{ data_directory }}
|
|
|
|
|
WorkingDirectory={{ data_directory }}
|
|
|
|
|
ExecStart=/usr/lib/jvm/java-11-openjdk-amd64/bin/java -Xms{{ minecraft_start_ram | quote }} -Xmx{{ minecraft_max_ram | quote }} -jar {{ installation_directory | quote }}/server.jar nogui
|
|
|
|
|
ExecStart=/usr/lib/jvm/java-{{ java_version }}-openjdk-amd64/bin/java -Xms{{ minecraft_start_ram | quote }} -Xmx{{ minecraft_max_ram | quote }} -jar {{ installation_directory | quote }}/server.jar nogui
|
|
|
|
|
ExecStop={{ remote_control_script }} stop
|
|
|
|
|