Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Creating a service for Laravel Horizon on Ubuntu 22.04.5 LTS

Aperta
#155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
laravel, nginx, php, postgresql, redis, ubuntu

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
186
Fork
77
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pixelfed/docs

Tutte le issue di pixelfed/docs

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.