diff --git a/roles/matrix-maubot/templates/matrix-maubot.service.j2 b/roles/matrix-maubot/templates/matrix-maubot.service.j2 index cd2728212..f2fb418ab 100644 --- a/roles/matrix-maubot/templates/matrix-maubot.service.j2 +++ b/roles/matrix-maubot/templates/matrix-maubot.service.j2 @@ -22,7 +22,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-maubot \ -e UID={{ matrix_user_uid }} \ -e GID={{ matrix_user_gid }} \ --network={{ matrix_docker_network }} \ - -v {{ matrix_maubot_host_data_dir }}:/data:z \ + -v {{ matrix_maubot_host_data_dir }}:{{ matrix_maubot_container_data_dir }}:z \ + -v {{ matrix_maubot_host_config_dir }}:{{ matrix_maubot_container_config_dir }}:z \ {% for arg in matrix_maubot_container_extra_arguments %} {{ arg }} \ {% endfor %}