aboutsummaryrefslogtreecommitdiffstats
path: root/entrypoint.sh
diff options
context:
space:
mode:
authorArianit K <arianit@hax.al>2025-06-03 00:16:37 +0000
committerArianit K <arianit@hax.al>2025-06-03 00:16:37 +0000
commit9d7f9d6253717dc5f87d674c1cc49f53256d9485 (patch)
tree8ab3b154b462e696ce2ab34fb00af622e23365be /entrypoint.sh
downloadKISSmoDocker-9d7f9d6253717dc5f87d674c1cc49f53256d9485.tar.gz
KISSmoDocker-9d7f9d6253717dc5f87d674c1cc49f53256d9485.zip
KISSmo Docker
Diffstat (limited to 'entrypoint.sh')
-rw-r--r--entrypoint.sh13
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