Initial commit
This commit is contained in:
14
docker-entrypoint.sh
Normal file
14
docker-entrypoint.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
mkdir -p /run/dbus
|
||||
|
||||
rm -f /run/dbus/pid
|
||||
|
||||
if [[ ! -s /etc/machine-id ]]; then
|
||||
dbus-uuidgen --ensure=/etc/machine-id
|
||||
fi
|
||||
|
||||
dbus-daemon --system --fork
|
||||
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user