Skip to content

Commit 6f4b46d

Browse files
committed
Add a few code comments to entrypoint.sh
1 parent 7f88d5f commit 6f4b46d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ set -e
1414

1515
[ $# -gt 0 ] || set -- php-fpm "$@"
1616
if [ "$1" == "php-fpm" ]; then
17+
# setup Nextcloud
1718
NEXTCLOUD_UPDATE=1 docker-nc-entrypoint "true"
1819

20+
# run crond
1921
crond -f -l 7 -L /dev/stdout &
22+
23+
# run Nextcloud's cronjobs once
2024
occ-cron
2125

2226
exec "$@"

0 commit comments

Comments
 (0)