1#!/bin/bash
2
3# Start cron
4echo "$(date): Starting cron service..."
5service cron start
6
7# Start the KISSmo Perl application in daemon mode
8echo "$(date): Starting KISSmo Perl application..."
9perl paste.pl daemon -m production -l http://0.0.0.0:7878
10
11# Keep the container running indefinitely
12echo "$(date): Tail -f /dev/null to keep container alive..."
13tail -f /dev/null