Skip to content

Commit

Permalink
FIX: File is in the image now
Browse files Browse the repository at this point in the history
  • Loading branch information
djlambert committed Mar 13, 2023
1 parent 45caf03 commit f6add6f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions templates/web.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,7 @@ run:
- exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
- exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
- exec: /usr/local/bin/ruby -e 'if (ENV["DISCOURSE_CDN_URL"] || "")[0..1] == "//"; puts "Aborting! CDN must have a protocol specified. Once fixed you should rebake your posts now to correct all posts."; exit 1; end'
# TODO: move to base image (anacron can not be fired up using rc.d)
- exec: rm -f /etc/cron.d/anacron
- file:
path: /etc/cron.d/anacron
contents: |
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

30 7 * * * root /usr/sbin/anacron -s >/dev/null
- file:
path: /etc/runit/1.d/copy-env
chmod: "+x"
Expand Down

0 comments on commit f6add6f

Please sign in to comment.