this post was submitted on 23 Jan 2023
33 points (100.0% liked)
Fediverse
17710 readers
5 users here now
A community dedicated to fediverse news and discussion.
Fediverse is a portmanteau of "federation" and "universe".
Getting started on Fediverse;
- What is the fediverse?
- Fediverse Platforms
- How to run your own community
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
@eshep @serenity @f00fc7c8 @rom @anders Interesting, I didn't know about daemon. Can you share how you have it configured? I set my server some years ago, I think it didn't have this option back then but I'd like to try.
@shuro
@serenity @fediverse @rom @eshep @f00fc7c8 @shuro
You start the Daemon with this command: cd /var/www/html && php bin/daemon.php start
If you don't have your Friendica installation in /var/www/html, change it to the proper location. You can run the command at system boot.
@eshep @serenity @f00fc7c8 @rom @anders Thanks, I'll try this and see how it compares with cron!
@shuro
@serenity @fediverse @rom @eshep @f00fc7c8
Alright. Good luck 😃 feel free to ask if needed :)
@eshep @serenity @f00fc7c8 @rom @anders Thanks for the advice to switch to daemon - now it doesn't have delays before sending posts and comments.
Now it works even better :)
@shuro
@serenity @fediverse @rom @eshep @f00fc7c8
You're welcome! Great to hear that :) I wonder why Cron job is the recommended method by Friendica. When I saw that in the installation guide I was like "naah I'll stick with the "non-recommended" method" 😃
@eshep @serenity @f00fc7c8 @rom @anders I wonder as well. Maybe Cron is considered more reliable as it starts new process every few minutes and if it fails for some reason it will be restarted automatically. Daemon requires more configuration.
@serenity @rom @eshep @f00fc7c8 @shuro yeah maybe.
I have it in a docker container with "restart: always" so if it crashes then it will just restart.
@serenity
@fediverse @rom @eshep @f00fc7c8 @shuro
I assume that you don't run it through Docker since you mentioned Cronjobs. Let me know if my assumption is wrong because then I can give some extra suggestions for that as well.