소스 검색

Changes owner of logs to root on every container start

chaptergy 4 년 전
부모
커밋
fbae107c04
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      docker/rootfs/etc/cont-init.d/01_perms.sh

+ 4 - 0
docker/rootfs/etc/cont-init.d/01_perms.sh

@@ -0,0 +1,4 @@
+#!/usr/bin/with-contenv bash
+
+mkdir -p /data/logs
+chown -R root:root /data/logs