Merge pull request #601 from thedanbob/fix-synapse-admin-caps

Fix capability names for synapse-admin
development
Slavi Pantaleev 4 years ago committed by GitHub
commit e0c1c94fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,10 +17,10 @@ ExecStartPre=-{{ matrix_host_command_docker }} rm matrix-synapse-admin
ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-synapse-admin \ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-synapse-admin \
--log-driver=none \ --log-driver=none \
--cap-drop=ALL \ --cap-drop=ALL \
--cap-add=CAP_CHOWN \ --cap-add=CHOWN \
--cap-add=CAP_NET_BIND_SERVICE \ --cap-add=NET_BIND_SERVICE \
--cap-add=CAP_SETUID \ --cap-add=SETUID \
--cap-add=CAP_SETGID \ --cap-add=SETGID \
--network={{ matrix_docker_network }} \ --network={{ matrix_docker_network }} \
{% if matrix_synapse_admin_container_http_host_bind_port %} {% if matrix_synapse_admin_container_http_host_bind_port %}
-p {{ matrix_synapse_admin_container_http_host_bind_port }}:80 \ -p {{ matrix_synapse_admin_container_http_host_bind_port }}:80 \

Loading…
Cancel
Save