#!/bin/bash # Start cron echo "$(date): Starting cron service..." service cron start # Start the KISSmo Perl application in daemon mode echo "$(date): Starting KISSmo Perl application..." perl paste.pl daemon -m production -l http://0.0.0.0:7878 # Keep the container running indefinitely echo "$(date): Tail -f /dev/null to keep container alive..." tail -f /dev/null