Ver Fonte

Changes owner of logs to root on every container start

chaptergy há 4 anos atrás
pai
commit
fbae107c04
1 ficheiros alterados com 4 adições e 0 exclusões
  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