-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
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):
Requires=postgresql@15-main.service
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels