We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe2084 commit 06b9d46Copy full SHA for 06b9d46
bin/entrypoint.sh
@@ -1,8 +1,8 @@
1
#!/usr/local/bin/dumb-init /bin/bash
2
set -e
3
4
-if [ -S /shareddev/$(hostname)/log ];then
5
- ln -s /shareddev/$(hostname)/log /dev/log
+if [ -z ${LOGNAME} -a -S /shareddev/${LOGNAME}/log ];then
+ ln -s /shareddev/${LOGNAME}/log /dev/log
6
logger -s "Created container specific symlink to syslog container"
7
elif [ -S /shareddev/log ];then
8
ln -s /shareddev/log /dev/log
0 commit comments