Skip to content

Commit f6add6f

Browse files
committed
FIX: File is in the image now
1 parent 45caf03 commit f6add6f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

templates/web.template.yml

-8
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,7 @@ run:
2828
- exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_SMTP_ADDRESS"] == "smtp.example.com"; puts "Aborting! Mail is not configured!"; exit 1; end'
2929
- exec: /usr/local/bin/ruby -e 'if ENV["DISCOURSE_HOSTNAME"] == "discourse.example.com"; puts "Aborting! Domain is not configured!"; exit 1; end'
3030
- 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'
31-
# TODO: move to base image (anacron can not be fired up using rc.d)
32-
- exec: rm -f /etc/cron.d/anacron
33-
- file:
34-
path: /etc/cron.d/anacron
35-
contents: |
36-
SHELL=/bin/sh
37-
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
3831

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

0 commit comments

Comments
 (0)