d4science-gcube/roles/redmine/files/redmine-login.html.erb.diff: See https://support.d4science.org/issues/939#change-3569

library/roles/redmine/tasks/unicorn.yml: New tags.
This commit is contained in:
Andrea Dell'Amico 2015-10-12 12:00:54 +02:00
parent 478dba36c0
commit 0b5928461e
3 changed files with 6 additions and 4 deletions

View File

@ -61,7 +61,8 @@ unicorn_listen_address: 127.0.0.1
unicorn_worker_processes: 5
unicorn_timeout: 120
unicorn_log_dir: /var/log/unicorn
unicorn_pid_file: /run/unicorn/unicorn.pid
unicorn_pid_dir: /run/unicorn
unicorn_pid_file: '{{ unicorn_pid_dir }}/unicorn.pid'
unicorn_gems:
- unicorn
- coderay

View File

@ -16,16 +16,16 @@
- name: Install the unicorn startup file for redmine
copy: src=redmine.init dest=/etc/init.d/redmine owner=root group=root mode=0755
when: ruby_use_unicorn
tags: [ 'ruby', 'redmine', 'unicorn' ]
tags: [ 'ruby', 'redmine', 'unicorn', 'unicorn_init' ]
- name: Install the unicorn defaults file
template: src=unicorn-redmine.default.j2 dest=/etc/default/unicorn-redmine owner=root group=root mode=0644
notify: Reload unicorn when needed
tags: [ 'ruby', 'redmine', 'unicorn', 'unicorn_conf' ]
tags: [ 'ruby', 'redmine', 'unicorn', 'unicorn_init', 'unicorn_conf' ]
- name: Install the unicorn logrotate file
template: src=unicorn-logrotate.j2 dest=/etc/logrotate.d/unicorn-redmine owner=root group=root mode=0644
tags: [ 'ruby', 'redmine', 'unicorn', 'unicorn_conf' ]
tags: [ 'ruby', 'redmine', 'unicorn', 'unicorn_logrotate', 'unicorn_conf' ]
- name: Install the unicorn config
template: src=unicorn.conf.rb.j2 dest={{ redmine_glob_root_dir }}/{{ redmine_inst_dir }}/config/unicorn.conf.rb owner=root group=root mode=0644

View File

@ -4,4 +4,5 @@ DAEMON=unicorn
DAEMON_OPTS="-c $APP/config/unicorn.conf.rb -E production -D -l {{ unicorn_listen_address }}:3999"
NAME=unicorn
DESC="Unicorn app for $USER"
PID_DIR={{ unicorn_pid_dir }}
PID={{ unicorn_pid_file }}