dockerfiles/niinix/scripts/rc

22 lines
293 B
Plaintext
Raw Normal View History

2015-02-04 05:17:12 +00:00
#!/bin/sh
# Start cron
cron -L 7
# Some deis containers need an extra entry step
if [ -x /app/bin/entry ]
then
/app/bin/entry
exitstatus="$?"
if [ "$exitstatus" != "0" ]; then
echo "The entry script failed"
exit $exitstatus
fi
fi
# Start the main container process
/app/bin/boot