Addition of systemd timer/service

This commit is contained in:
ben-utzer 2018-04-04 14:16:05 +05:30 committed by GitHub
parent 64ea49788e
commit 8a63fc5ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,3 +5,17 @@ sample-nginx.config
or Nginx. Pleas check software documentation to know how modify or Nginx. Pleas check software documentation to know how modify
these examples to make them work on your server. 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.