소스 검색

Remove unnecessary code causing troubles on Debian-based systems

It should be `/bin/mkdir` and `/bin/chown` on Ubuntu 18.04 for example.
Still, it doesn't seem like we need to create and chown these
directories at all, since the playbook takes care of creating them
and setting appropriate permission by itself.
pull/25/head
Slavi Pantaleev 7 년 전
부모
커밋
2186031be2
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. +0
    -2
      roles/matrix-server/templates/systemd/matrix-postgres.service.j2

+ 0
- 2
roles/matrix-server/templates/systemd/matrix-postgres.service.j2 파일 보기

@@ -7,8 +7,6 @@ Requires=docker.service
Type=simple
ExecStartPre=-/usr/bin/docker stop matrix-postgres
ExecStartPre=-/usr/bin/docker rm matrix-postgres
ExecStartPre=-/usr/bin/mkdir {{ matrix_postgres_data_path }}
ExecStartPre=-/usr/bin/chown {{ matrix_user_uid }}:{{ matrix_user_gid }} {{ matrix_postgres_data_path }}
ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
--log-driver=none \
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \


불러오는 중...
취소
저장