Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

297
Views
¿Por qué el servicio systemd da un error al iniciar?

Creé un nuevo servicio systemd y sigo recibiendo un error cuando se inicia el servicio y no estoy seguro de qué podría estar pasando.

 /usr/bin/env: node: No such file or directory systemd[1]: test-panel.service: main process exited, code=exited, status=127/n/a

Aquí está mi archivo de servicio

 [Unit] Description=Test Panel After=network.target [Service] User=root WorkingDirectory=/var/test/panel/ ExecStart=/root/.nvm/versions/node/v16.6.1/bin/npx directus start Restart=always RestartSec=500ms StartLimitInterval=0 [Install] WantedBy=multi-user.target

Tengo otros servicios que funcionan bien cuando ExecStart es un nodo con un script. Además, cuando estoy en el directorio activo y llamo npx directus start manualmente, todo funciona bien.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Terminé cambiando la forma en que comencé Directus ajustando ExecStart .

 ExecStart=/root/.nvm/versions/node/v16.6.1/bin/node node_modules/directus/dist/start.js

Esto inicia el servicio como debería y aún no me he encontrado con ningún inconveniente.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!