Changes owner of logs to root on every container start
This commit is contained in:
parent
67e8ca6714
commit
fbae107c04
4
docker/rootfs/etc/cont-init.d/01_perms.sh
Executable file
4
docker/rootfs/etc/cont-init.d/01_perms.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
mkdir -p /data/logs
|
||||
chown -R root:root /data/logs
|
Loading…
Reference in New Issue
Block a user