From 313ad55670348c4d660cf12ef608fb81d8466597 Mon Sep 17 00:00:00 2001
From: Alex <alex@2a03.party>
Date: Mon, 12 Sep 2022 17:09:19 -0400
Subject: [PATCH] add cron as it wasnt installed nor started.

---
 Dockerfile        | 2 +-
 resources/gonk.sh | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index dd4f97c..4663e73 100755
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,7 +30,7 @@ RUN apt-get install -y \
 	uuid-dev
 
 ## Install GONK specific dependencies
-RUN apt-get install -y fail2ban iptables net-tools
+RUN apt-get install -y fail2ban iptables net-tools cron
 
 ## Copy over source and other scripts
 COPY resources /build
diff --git a/resources/gonk.sh b/resources/gonk.sh
index 18f0081..2161883 100755
--- a/resources/gonk.sh
+++ b/resources/gonk.sh
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+echo "Starting pre-requisite services..."
+service cron start
+
 echo "Starting Gonk node..."
 
 echo "  ______ 
@@ -11,6 +14,8 @@ echo "  ______
   |/\|/\|"
 
 
+
+
 if [ -f /var/gonk ]; then
 	echo "Gonk has already been provisioned"
 	service fail2ban start