Skip to content

Commit

Permalink
undo single run on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
lightlike committed Jul 4, 2024
1 parent 17e4959 commit 06dace1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@
echo "Creating cronjob with schedule: ${SCHEDULE}"
echo "${SCHEDULE} ansible-playbook /netcup-dns/ansible/update-dns.yaml" > /etc/crontabs/root

echo "Running task once"
exec "ansible-playbook /netcup-dns/ansible/update-dns.yaml"

echo "Running command: '$@'"
exec "$@"

0 comments on commit 06dace1

Please sign in to comment.