1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-13 23:50:34 +00:00
vagrant-easyredmine/roles/easyredmine/templates/redmine_receive_imap.j2
2018-01-24 13:48:08 -05:00

18 lines
492 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 }}/gems/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 }}