Actually, it doesn't start automatically after lando is restarted... :( I have to ssh manually and run service cron start for it to work after appservice restarts.
The only thing added is the command to copy a changed docker entrypoint bash script to the usual place. And here is the content of the changed entrypoint script:
#!/bin/sh
service cron start
set-e# first arg is `-f` or `--some-option`if["${1#-}"!="$1"];then
set-- apache2-foreground "$@"fi
exec"$@"
Here I only added service cron start, the rest was already there in the original entrypoint bash script. I actually used the same combo for getting the supervisor to work, for Laravel queue workers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you! Very useful and easy to set up.
Actually, it doesn't start automatically after lando is restarted... :( I have to ssh manually and run
service cron startfor it to work after appservice restarts.Ok, I managed to do it.
Here is @jcandan 's script but updated with an additional step:
The only thing added is the command to copy a changed docker entrypoint bash script to the usual place. And here is the content of the changed entrypoint script:
Here I only added
service cron start, the rest was already there in the original entrypoint bash script. I actually used the same combo for getting the supervisor to work, for Laravel queue workers.