1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-10 06:50:35 +00:00
vagrant-easyredmine/roles/easyredmine/templates/redmine_receive_imap.j2

18 lines
494 B
Django/Jinja
Executable File

#!/bin/bash
cd {{ redmine_root_dir }}
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
source "{{ rvm1_install_path }}/scripts/rvm"
{{ rvm1_install_path }}/rubies/ruby-{{ ruby_version }}/bin/bundle exec rake \
redmine:email:receive_imap \
RAILS_ENV="production" \
project=sysdba \
allow_override=project,assigned_to,tracker,priority,category,status \
host=imap.gmail.com \
port=993 ssl=SSL \
username={{ smtp_username }} \
password={{ smtp_password }}