Skip to content
Snippets Groups Projects
Commit 248df4a3 authored by Alexander Hinneburg's avatar Alexander Hinneburg
Browse files

cron for kill long queries

parent 1a1a2396
Branches
No related tags found
No related merge requests found
......@@ -8,4 +8,4 @@ RUN chown -R postgres:postgres /home/postgres && \
crontab -u postgres /home/postgres/postgres-crontab && \
chmod 755 /start-cron.sh
CMD /start-cron.sh && su -c postgres postgres
CMD /start-cron.sh; /usr/local/bin/docker-entrypoint.sh postgres
#!/bin/sh
# start cron
/usr/sbin/crond -f -l 8 &
/usr/sbin/crond -f &
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment