Skip to content

Commit 5c44bce

Browse files
committed
Refactoring
1 parent e939b6e commit 5c44bce

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
1111
ca-certificates \
1212
procps \
1313
iproute2 \
14+
dbus \
1415
&& rm -rf /var/lib/apt/lists/*
1516

1617
# Install Cloudflare WARP

entrypoint.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ set -e
99
sysctl -w net.ipv4.ip_forward=1 2>/dev/null \
1010
|| echo "[warn] Could not set ip_forward via sysctl — ensure it is enabled on the host or via docker-compose sysctls."
1111

12+
# ---------------------------------------------------------------------------
13+
# Start D-Bus system daemon (warp-svc requires it for IPC)
14+
# ---------------------------------------------------------------------------
15+
echo "[info] Starting dbus..."
16+
mkdir -p /run/dbus
17+
dbus-daemon --system --fork
18+
echo "[info] dbus started."
19+
1220
# ---------------------------------------------------------------------------
1321
# Start the WARP background service
1422
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)