1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-14 16:00:34 +00:00
vagrant-easyredmine/roles/easyredmine/templates/redmine_receive_imap.j2

18 lines
492 B
Plaintext
Raw Normal View History

2015-12-23 18:02:36 +00:00
#!/bin/bash
cd {{ redmine_root_dir }}
2018-01-24 18:48:08 +00:00
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
source "{{ rvm1_install_path }}/scripts/rvm"
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
2015-12-23 18:02:36 +00:00
redmine:email:receive_imap \
RAILS_ENV="production" \
project=sysdba \
2016-11-30 17:04:10 +00:00
allow_override=project,assigned_to,tracker,priority,category,status \
2015-12-23 18:02:36 +00:00
host=imap.gmail.com \
port=993 ssl=SSL \
username={{ smtp_username }} \
password={{ smtp_password }}