Strapi, systemd and aws

Hi All,
I’ve deployed a ec2 on aws, install strapi, install bun and all works fine if I’m running the bun command from terminal.
When I try to use systemd to make the service strat on boot then I received this message (full log in attachment):

function destroyReadStream (stream) {
May 02 19:58:57 compute.internal bun[8050]: 60 |   stream.destroy()
May 02 19:58:57 compute.internal bun[8050]:        ^
May 02 19:58:57 compute.internal bun[8050]: TypeError: undefined is not an object
May 02 19:58:57 compute.internal bun[8050]:       at destroy2 (node:stream:1403:43)
May 02 19:58:57 compute.internal bun[8050]:       at destroyReadStream (/opt/strapi/node_modules/destroy/index.js:60:3)
May 02 19:58:57 compute.internal bun[8050]:       at destroy (/opt/strapi/node_modules/destroy/index.js:37:5)

When the service going up no errors appear, but ad the first page call then strapi implode and the service restarted.
Have you any idea how to resolve?
Thansk in advanced

This topic has been created from a Discord post (1235684949558820964) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

The user of systemd service is the same that I use to run the bun command from command line