Adapted crond s6 start

This commit is contained in:
Varakh 2021-01-30 17:33:03 +01:00
parent 07d878a07f
commit b0849b61b8
4 changed files with 11 additions and 2 deletions

5
CHANGELOG.md Normal file
View 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

View file

@ -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 .
```

View file

@ -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
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec /usr/sbin/crond -f