aboutsummaryrefslogtreecommitdiffstats
path: root/entrypoint.sh
blob: 71d3ac1e84077e17b71d393abf4ab78445947478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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