Skip to content

Commit bc0644a

Browse files
author
bio-boris
committed
Attempt touching file and using cron without service
1 parent dc590f6 commit bc0644a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,6 @@ RUN echo "mongodb-org hold" | dpkg --set-selections \
4343
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh \
4444
&& bash ~/miniconda.sh -b -p /miniconda-latest
4545

46-
47-
4846
# Setup Cron
4947
COPY ./bin/ee2_cronjobs /etc/cron.d/ee2_cronjobs
5048

scripts/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ if [ $# -eq 0 ]; then
2121
# Save ENV Variables to file for cron and Remove _=/usr/bin/env
2222
envsubst </kb/module/bin/cron_vars >/etc/environment
2323
chmod a+rw /etc/environment
24-
# /usr/sbin/cron: (*system*) NUMBER OF HARD LINKS > 1
25-
touch /etc/cron.d/ee2_cronjobs && service cron start
24+
# Start cron and fix /usr/sbin/cron: (*system*) NUMBER OF HARD LINKS > 1
25+
cron && touch /etc/cron.d/ee2_cronjobs
2626
sh ./scripts/start_server.sh
2727

2828
elif [ "${1}" = "test" ]; then

0 commit comments

Comments
 (0)