From: ben-utzer Date: Wed, 4 Apr 2018 08:46:05 +0000 (+0530) Subject: Addition of systemd timer/service X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8a63fc5ca747908966c479300efd255e25cf4497;p=friendica.git Addition of systemd timer/service --- diff --git a/mods/readme.txt b/mods/readme.txt index 83878aefb3..41e06c2f88 100644 --- a/mods/readme.txt +++ b/mods/readme.txt @@ -2,6 +2,20 @@ sample-Lighttpd.config sample-nginx.config Sample configuration files to use Friendica with Lighttpd - or Nginx. Pleas check software documentation to know how modify - these examples to make them work on your server. + or Nginx. Pleas check software documentation to know how modify + these examples to make them work on your server. + +sample-systemd.timer +sample-systemd.service + + Sample .timer and .service file to start worker.php + + Please place them in the correct location for your system, + typically this is /etc/systemd/system/friendicaworker.timer + and /etc/systemd/system/friendicaworker.service. + Please report problems and improvements to + !helpers@forum.friendi.ca and @utzer@social.yl.ms or open an + issue in Github (https://github.com/friendica/friendica/issues). + This is for usage of systemd instead of cron to start the worker.php + periodically, the solution is work-in-progress and can surely be improved.