You've already forked baupm-core
code cleanup
This commit is contained in:
14
.dbdiff
14
.dbdiff
@@ -1,14 +0,0 @@
|
||||
server1:
|
||||
user: user
|
||||
password: password
|
||||
port: 3306
|
||||
host: 127.0.0.1
|
||||
server2:
|
||||
user: user
|
||||
password: password
|
||||
port: 3306
|
||||
host: 127.0.0.1
|
||||
template: ./.migrate.tmpl
|
||||
type: all
|
||||
include: all
|
||||
nocomments: true
|
||||
@@ -1,8 +0,0 @@
|
||||
SQL_UP = u"""
|
||||
{{ $up }}
|
||||
"""
|
||||
|
||||
SQL_DOWN = u"""
|
||||
{{ $down }}
|
||||
"""
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
|
||||
# Fetch emails
|
||||
*/5 * * * * /opt/bitnami/redmine/fetch-mails >/dev/null 2>&1
|
||||
|
||||
# Update Letsencrypt Certificate
|
||||
#### Don't forget to set the --email and --domain arguments! ####
|
||||
# 0 0 * * * sudo /opt/bitnami/letsencrypt/lego --path /opt/bitnami/letsencrypt --email="" --http --http-timeout 30 --http.webroot /opt/bitnami/apps/letsencrypt --domains="" renew && sudo /opt/bitnami/apache2/bin/httpd -f /opt/bitnami/apache2/conf/httpd.conf -k graceful
|
||||
@@ -1,43 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Email-address of the system
|
||||
mail_address="${REDMINE_IMAP_USER}"
|
||||
|
||||
# Email-Account username and password
|
||||
mail_username="${REDMINE_IMAP_USERNAME:-"$mail_address"}"
|
||||
mail_password="${REDMINE_IMAP_PASSWORD}"
|
||||
|
||||
# IMAP-Server address and port
|
||||
mail_host="${REDMINE_IMAP_HOST}"
|
||||
mail_port=${REDMINE_IMAP_PORT:-993}
|
||||
mail_ssl=${REDMINE_IMAP_SSL:-true}
|
||||
|
||||
# IMAP-INBOX-Folder
|
||||
mail_folder="INBOX"
|
||||
|
||||
# Default project and tracker
|
||||
project="${REDMINE_IMAP_DEFAULT_PROJECT:-"meta"}"
|
||||
tracker="${REDMINE_IMAP_DEFAULT_TRACKER:-"Support"}"
|
||||
|
||||
# Redmine Settings
|
||||
unknown_user_action="ignore"
|
||||
allow_override="all"
|
||||
no_permission_check=true
|
||||
app_root="/opt/bitnami/redmine"
|
||||
|
||||
if [[ -n "$mail_address" ]] && [[ -n "$mail_username" ]] && [[ -n "$mail_password" ]] && [[ -n "$mail_host" ]]; then
|
||||
sudo /opt/bitnami/ruby/bin/rake -f $app_root/Rakefile --silent redmine:email:receive_imap RAILS_ENV="production" \
|
||||
host="$mail_host" \
|
||||
port=$mail_port \
|
||||
username="$mail_username" \
|
||||
password="$mail_password" \
|
||||
ssl=$mail_ssl \
|
||||
move_on_success="$mail_folder.success" \
|
||||
move_on_failure="$mail_folder.failed" \
|
||||
unknown_user="$unknown_user_action" \
|
||||
tracker="$tracker" \
|
||||
allow_override="$allow_override" \
|
||||
folder="$mail_folder" \
|
||||
project="$project" \
|
||||
no_permission_check=$no_permission_check
|
||||
fi
|
||||
Reference in New Issue
Block a user