This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# REDMINE for Nginx + Unicorn init script | |
# improvised from the awesome work maintained by the GitLab team: | |
# Credit to: @randx and others at GitLab | |
### BEGIN INIT INFO | |
# Provides: redmine | |
# Required-Start: $local_fs $remote_fs $network $syslog redis-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import re | |
from django.conf import settings | |
from django.http import HttpResponseRedirect | |
from django.utils import translation | |
from django.utils.translation import get_language_from_request | |
# |
NewerOlder