From 9d7f9d6253717dc5f87d674c1cc49f53256d9485 Mon Sep 17 00:00:00 2001 From: Arianit K Date: Tue, 3 Jun 2025 00:16:37 +0000 Subject: KISSmo Docker --- entrypoint.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 entrypoint.sh (limited to 'entrypoint.sh') 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 -- cgit v1.2.3