Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Creating a service for Laravel Horizon on Ubuntu 22.04.5 LTS

Abierto
#155 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
55/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
laravel, nginx, php, postgresql, redis, ubuntu

Línea de trabajo

Start with the Laravel Horizon service instructions in the installation documentation at docs.pixelfed.org/running-pixelfed/installation.html. Compare the documented systemd Requires entries with the Ubuntu 22.04 service names and the configurations reported here, then update the instructions so the service starts without dependency errors. Done means the documented unit uses valid service names for the supported setup.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

The documentation https://docs.pixelfed.org/running-pixelfed/installation.html mentions creating a service to run Laravel Horizon in the background.

I think this must be for a different version of Linux/Ubuntu (maybe Ubuntu 20?).

When I followed the instructions, I got the following errors on the service when doing a systemctl status pixelfed:

/etc/systemd/system/pixelfed.service:4: Failed to add dependency on postgresql, ignoring: Invalid argument
/etc/systemd/system/pixelfed.service:5: Failed to add dependency on php-fpm, ignoring: Invalid argument
/etc/systemd/system/pixelfed.service:6: Failed to add dependency on redis, ignoring: Invalid argument
/etc/systemd/system/pixelfed.service:7: Failed to add dependency on nginx, ignoring: Invalid argument

This is because systemd seems to need .service on the end of the Requires lines for each service.
Also, redis is now called redis-server

The rest of the file is the same.
My "Requires" section looks like the following (I also have multiple versions of PostgreSQL and php-fpm installed):

[email protected]
Requires=php8.3-fpm.service
Requires=redis-server.service
Requires=nginx.service

Hopefully this helps someone, and the docs can be updated to deal with this version of Linux.

Lenguaje dominante
JavaScript
Estrellas
186
Forks
77
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pixelfed/docs

Todos los issues de pixelfed/docs

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.