add cron as it wasnt installed nor started.
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
6fe1b25bd5
commit
313ad55670
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user