Creating a service for Laravel Horizon on Ubuntu 22.04.5 LTS
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
- Ambito
- devops, documentation, infrastructure
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pixelfed/docs
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
Tutte le issue di pixelfed/docs
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
fix(套件): test_bundle 往仓库的 preset/skills 写哨兵,并发跑的 test_installer 拷贝时撞 ENOENT(CI 红)Forse già presa @Miaotofu01 l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Miaotofu01/Study-Mate#216 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
-
beginner-friendly category:fixtures community enhancement first-timers-only good first issue hacktoberfest help wanted low hanging fruit micro-contribution type: task up-for-grabs
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Berserk-hub150/skillhawk#229 · 1 commento ·
I maintainer di solito rispondono entro 8 giorni