Adapted crond s6 start
This commit is contained in:
parent
07d878a07f
commit
b0849b61b8
4 changed files with 11 additions and 2 deletions
5
CHANGELOG.md
Normal file
5
CHANGELOG.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# CHANGELOG
|
||||
|
||||
## 2021-01-30
|
||||
* Updated docker image to include latest alpine package changes
|
||||
* Fixed start of `crond` in s6 overlay, included `crontab` file will be run every 15 minutes correctly now
|
|
@ -135,8 +135,8 @@ Steps:
|
|||
Example:
|
||||
|
||||
```
|
||||
export FILEBIN_VERSION=3.4.1
|
||||
export FILEBIN_VERSION=3.5.0
|
||||
mkdir -p build
|
||||
git clone --branch ${FILEBIN_VERSION} https://github.com/Bluewind/filebin --depth=1 build/
|
||||
docker build -t varakh/filebin:${FILEBIN_VERSION} -t varakh/filebin:latest .
|
||||
sudo docker build --no-cache -t varakh/filebin:${FILEBIN_VERSION} -t varakh/filebin:latest .
|
||||
```
|
|
@ -2,3 +2,4 @@
|
|||
|
||||
/usr/bin/php /var/www/index.php file cron
|
||||
/usr/bin/php /var/www/index.php user cron
|
||||
/bin/echo "Executed crontab"
|
||||
|
|
3
src/s6/crond/run
Executable file
3
src/s6/crond/run
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exec /usr/sbin/crond -f
|
Loading…
Reference in a new issue