-
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make 50-cron-config and entrypoint-collector.sh mirrors of each other…
…. This is for ease of maintainability. related #121
- Loading branch information
Showing
3 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
rootfs/etc/cont-init.d/50-config → rootfs/etc/cont-init.d/50-cron-config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
# Cron runs in its own isolated environment (usually using only /etc/environment ) | ||
# So when the container starts up, we will do a dump of the runtime environment into a .env file that we | ||
# will then source into the crontab file (/etc/cron.d/scrutiny.sh) | ||
|
||
(set -o posix; export -p) > /env.sh | ||
|
||
echo "starting cron" | ||
cron -f -L 15 |