#!/bin/bash if ! test -f "/app/conf/crontab"; then cp "/app/init/crontab" "/app/conf/crontab" fi crontab "/app/conf/crontab" if ! test -f "/app/conf/conf.json"; then cp "/app/init/conf.json" "/app/conf/conf.json" fi cron -f