Now it works, thank you for taking the time to assist me in solving this issue.

While this workaround is effective for now, I'm still open to a more proper solution if one comes up. If you or anyone else has any further insights, I'd greatly appreciate it.

Thanks again for your help!

-- Remi


Le 2023-09-28 08:01, Renato Aguiar a écrit :
On Wed, Sep 27 2023, Remi L. wrote:

I am an OpenBSD user and I recently installed Node.js. I managed to
create an rc.d script to start a basic Node.js application, but it
only starts manually.

At OpenBSD boot, I can see that the application is started, but it
doesn't work.

I observed same thing with another nodejs application (zigbee2mqtt).
As a workaround, I've been starting it from root's crontab using the
following:

---
@reboot                                 -n rcctl start zigbee2mqtt
---

And, of course, I'm keeping the service disabled (rcctl disable
zigbee2mqtt), so it doesn't run until cron starts.

I know that is not a proper solution, but it might be able to use the
same in the meantime.

Regards,

--
-- Remi

Reply via email to