]> git.99rst.org Git - openwrt-packages.git/commit
strongswan: use procd running check
authorFlorian Eckert <redacted>
Thu, 25 Jun 2026 11:13:27 +0000 (13:13 +0200)
committerFlorian Eckert <redacted>
Thu, 9 Jul 2026 08:51:13 +0000 (10:51 +0200)
commit4f4522702dc630b77083e7dbad408de63776416d
treecac181bd46e5a829081e54edb7de30507d3ed782
parentf19137076a572100b5e4f07b1077cded5686852a
strongswan: use procd running check

Instead of using the standard procd check, the function is overridden, and
the check to see if the service is running is performed using the command
'swanctl --stats > /dev/null 2>&1'. The problem with this is, that this
call is blocking if the strongswan charon socket is not available. The call
does not  return until the timeout has expired.

This block does not occur if we use the standard behavior of procd, which
checks whether the service it started is actually running. This change
therefore uses the standard call via procd, which returns the value without
blocking.

Signed-off-by: Florian Eckert <redacted>
net/strongswan/files/swanctl.init
git clone https://git.99rst.org/PROJECT