add cron as it wasnt installed nor started.
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Alex 2022-09-12 17:09:19 -04:00
parent 6fe1b25bd5
commit 313ad55670
Signed by: technically
GPG Key ID: 46E0A080F69E83F1
2 changed files with 6 additions and 1 deletions

View File

@ -30,7 +30,7 @@ RUN apt-get install -y \
uuid-dev uuid-dev
## Install GONK specific dependencies ## 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 over source and other scripts
COPY resources /build COPY resources /build

View File

@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
echo "Starting pre-requisite services..."
service cron start
echo "Starting Gonk node..." echo "Starting Gonk node..."
echo " ______ echo " ______
@ -11,6 +14,8 @@ echo " ______
|/\|/\|" |/\|/\|"
if [ -f /var/gonk ]; then if [ -f /var/gonk ]; then
echo "Gonk has already been provisioned" echo "Gonk has already been provisioned"
service fail2ban start service fail2ban start