Skip to content

Commit

Permalink
Split circus config
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien Ferrand committed Sep 17, 2018
1 parent 4b9bd20 commit aa15ff1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ COPY files/autorestart-containers.sh /scripts/autorestart-containers.sh
COPY files/autocmd-containers.sh /scripts/autocmd-containers.sh
COPY files/crontab /etc/crontab
COPY files/circus.ini /etc/circus.ini
COPY files/letsencrypt-dns.ini /etc/circus.d/letsencrypt-dns.ini
COPY files/authenticator.sh /var/lib/letsencrypt/hooks/authenticator.sh
COPY files/cleanup.sh /var/lib/letsencrypt/hooks/cleanup.sh
COPY files/deploy-hook.sh /scripts/deploy-hook.sh
Expand Down
12 changes: 0 additions & 12 deletions files/circus.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
[circus]
httpd = false
include = /etc/circus.d/*.ini

[watcher:crond]
cmd = /usr/sbin/crond -f
copy_env = True
stdout_stream.class = FancyStdoutStream
stderr_stream.class = FancyStdoutStream

[watcher:watch-domains]
cmd = /scripts/watch-domains.sh
copy_env = True
stdout_stream.class = FancyStdoutStream
stderr_stream.class = FancyStdoutStream
11 changes: 11 additions & 0 deletions files/letsencrypt-dns.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[watcher:crond]
cmd = /usr/sbin/crond -f
copy_env = True
stdout_stream.class = FancyStdoutStream
stderr_stream.class = FancyStdoutStream

[watcher:watch-domains]
cmd = /scripts/watch-domains.sh
copy_env = True
stdout_stream.class = FancyStdoutStream
stderr_stream.class = FancyStdoutStream

0 comments on commit aa15ff1

Please sign in to comment.