From dc6c1906d704fd84bd8b2bc01a712f97da1ff9b7 Mon Sep 17 00:00:00 2001 From: Fatih USTA Date: Thu, 30 May 2024 10:35:26 +0300 Subject: [PATCH] Remove stream socket file pre start Signed-off-by: Fatih USTA --- usr/lib/systemd/system/apisix.service | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/lib/systemd/system/apisix.service b/usr/lib/systemd/system/apisix.service index de077ad33..3565b6141 100644 --- a/usr/lib/systemd/system/apisix.service +++ b/usr/lib/systemd/system/apisix.service @@ -11,6 +11,7 @@ Type=forking Restart=on-failure WorkingDirectory=/usr/local/apisix ExecStartPre=/bin/rm -f /usr/local/apisix/logs/worker_events.sock +ExecStartPre=/bin/rm -f /usr/local/apisix/logs/stream_worker_events.sock ExecStart=/usr/bin/apisix start ExecStop=/usr/bin/apisix stop ExecReload=/usr/bin/apisix reload