Explorar el Código

Changes owner of logs to root on every container start

chaptergy hace 4 años
padre
commit
fbae107c04
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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