8a46931399
adding InfluxDB - influxdb added to dockerfile - influxdb s6 service - influxdb config - adding defaults to config - creating a DeviceRepo interface (multiple db backends) - implemented DeviceRepo interface as ScruitnyRepository
11 lines
422 B
Bash
Executable File
11 lines
422 B
Bash
Executable File
#!/bin/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)
|
|
|
|
printenv | sed 's/^\(.*\)$/export \1/g' > /env.sh
|
|
|
|
# now that we have the env start cron in the foreground
|
|
echo "starting cron"
|
|
su -c "cron -l 8 -f" root
|