Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: minor bug in fcgiwrap-runit (Read 583 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

minor bug in fcgiwrap-runit

I run armtix (arm64 artix) on a raspberry pi 4. I find that the sv stop fcgiwrap command leaves behind a unix socket node in /run/fcgiwrap.sock. If I then run the sv start fcgiwrap command it fails (error message is Failed to bind: Address already in use). I changed the run command to
Code: [Select]
#!/bin/sh
rm -f /run/fcgiwrap.sock
exec fcgiwrap -s unix:/run/fcgiwrap.sock 2>&1
and then the stop / start commands work fine.

 

Re: minor bug in fcgiwrap-runit

Reply #1
Added fcgiwrap.finish to the fcgiwrap-runit service which handles the removal. Thanks for the report.
now only the dinit guy in artix


Re: minor bug in fcgiwrap-runit

Reply #3
Yes. That's why it will be installed as /etc/runit/sv/fcgiwrap/finish.
now only the dinit guy in artix