Gitiles
Code Review
Sign In
gerrit.benkard.de
/
kubeia
/
c0f9e206a0aa4edd7dfab5bdaf8395e77a1ea461
/
.
/
mailcow
/
src
/
mailcow-dockerized
/
data
/
Dockerfiles
/
postfix
/
docker-entrypoint.sh
blob: c97b1284404635c1625a86756ab9727dd28877d9 [
file
] [
log
] [
blame
]
#!/bin/bash
# Run hooks
for
file
in
/
hooks
/*;
do
if
[
-
x
"${file}"
];
then
echo
"Running hook ${file}"
"${file}"
fi
done
if
[[
!
-
z $
{
REDIS_SLAVEOF_IP
}
]];
then
cp
/
etc
/
syslog
-
ng
/
syslog
-
ng
-
redis_slave
.
conf
/
etc
/
syslog
-
ng
/
syslog
-
ng
.
conf
fi
exec
"$@"