Selaa lähdekoodia

Changes owner of logs to root on every container start

chaptergy 4 vuotta sitten
vanhempi
sitoutus
fbae107c04
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  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