Skip to content

Commit 2cce06a

Browse files
authored
fix: apisix startup failed due to unix socket not being removed (#363)
1 parent 5350698 commit 2cce06a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

usr/lib/systemd/system/apisix.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Wants=network-online.target
1010
Type=forking
1111
Restart=on-failure
1212
WorkingDirectory=/usr/local/apisix
13+
ExecStartPre=/bin/rm -f /usr/local/apisix/logs/worker_events.sock
1314
ExecStart=/usr/bin/apisix start
1415
ExecStop=/usr/bin/apisix stop
1516
ExecReload=/usr/bin/apisix reload

0 commit comments

Comments
 (0)