diff options
Diffstat (limited to '')
-rw-r--r-- | entrypoint.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..71d3ac1 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,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 |