Fix server icon and add a private /tmp, allow rw tmpfs
This commit is contained in:
parent
cedb64d948
commit
682fb98785
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
@ -31,6 +31,17 @@
|
|||
tags:
|
||||
- minecraft
|
||||
when: ( minecraft.local_plugins|default([]) ) | length
|
||||
- name: Copy binary files
|
||||
loop: "{{ minecraft.files }}"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/mcdir/{{ item }}"
|
||||
dest: "{{ minecraft.paths.data }}/{{ item }}"
|
||||
mode: "700"
|
||||
owner: "nobody"
|
||||
group: "nogroup"
|
||||
tags:
|
||||
- minecraft
|
||||
when: ( minecraft.files|default([]) ) | length
|
||||
- name: Fetch plugins
|
||||
loop: "{{ minecraft.plugins }}"
|
||||
get_url:
|
||||
|
|
|
@ -10,7 +10,8 @@ Group=nogroup
|
|||
WorkingDirectory={{ minecraft.paths.data }}
|
||||
ProtectSystem=strict
|
||||
BindPaths=-{{ minecraft.paths.data }}
|
||||
TemporaryFileSystem=/:ro
|
||||
TemporaryFileSystem=/:rw
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Reference in New Issue