diff --git a/README.md b/README.md index d018dff..c254f61 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Find us at: * [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team. * [IRC](https://irc.linuxserver.io) - on freenode at `#linuxserver.io`. Our primary support channel is Discord. * [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more! -* [Podcast](https://podcast.linuxserver.io) - on hiatus. Coming back soon (late 2018). +* [Podcast](https://anchor.fm/linuxserverio) - on hiatus. Coming back soon (late 2018). # PSA: Changes are happening @@ -136,6 +136,7 @@ This image now supports password protection through htpasswd. Run the following ## Versions +* **31.10.18:** - Add queue service. * **17.10.18:** - Symlink avatars folder. * **16.10.18:** - Updated fastcgi_params for user login support. * **07.10.18:** - Symlink `.env` rather than copy. It now resides under `/config/www` diff --git a/readme-vars.yml b/readme-vars.yml index 4706ff0..a061104 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -47,6 +47,7 @@ app_setup_block: | # changelog changelogs: + - { date: "31.10.18:", desc: "Add queue service." } - { date: "17.10.18:", desc: "Symlink avatars folder." } - { date: "16.10.18:", desc: "Updated fastcgi_params for user login support." } - { date: "07.10.18:", desc: "Symlink `.env` rather than copy. It now resides under `/config/www`" } diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index 7376387..4a63c61 100644 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -7,6 +7,8 @@ mkdir -p \ # copy .env if not exists [[ ! -f /config/www/.env ]] && \ cp /var/www/localhost/heimdall/.env /config/www/.env +# set queue driver to database +sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env # create symlinks diff --git a/root/etc/services.d/queue/run b/root/etc/services.d/queue/run new file mode 100644 index 0000000..5fbc6b3 --- /dev/null +++ b/root/etc/services.d/queue/run @@ -0,0 +1,4 @@ +#!/usr/bin/with-contenv bash + +exec \ + s6-setuidgid abc php /var/www/localhost/heimdall/artisan queue:work database --sleep=3 --tries=3