diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/send-batch-requests | 4 | ||||
-rwxr-xr-x | script/site-specific-install.sh | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/script/send-batch-requests b/script/send-batch-requests new file mode 100755 index 000000000..794bab11f --- /dev/null +++ b/script/send-batch-requests @@ -0,0 +1,4 @@ +#!/bin/bash +TOP_DIR="$(dirname "$BASH_SOURCE")/.." +cd "$TOP_DIR" +bundle exec rails runner 'InfoRequestBatch.send_batches' diff --git a/script/site-specific-install.sh b/script/site-specific-install.sh index 8917fd577..7d47a5990 100755 --- a/script/site-specific-install.sh +++ b/script/site-specific-install.sh @@ -66,6 +66,11 @@ ensure_line_present \ /etc/postfix/main.cf 644 ensure_line_present \ + "^ *myhostname *=" \ + "myhostname = $(hostname --fqdn)" \ + /etc/postfix/main.cf 644 + +ensure_line_present \ "^do-not-reply" \ "do-not-reply-to-this-address: :blackhole:" \ /etc/aliases 644 |