This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from zgoda/i11-config_and_logging
Fix #11: configure application from outside of source tree
- Loading branch information
Showing
4 changed files
with
53 additions
and
30 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Configuration files | ||
|
||
Adapt these to your setup. | ||
|
||
## brewlog.2019.conf | ||
|
||
Upstart configuration file. On Ubuntu 14.04 it goes to `/etc/init`. | ||
|
||
## brewlog.2019.ini | ||
|
||
uWSGI configuration file. Place it where it's set in service startup script. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
description "uWSGI service for brewlog (2019)" | ||
|
||
start on runlevel [2345] | ||
stop on runlevel [!2345] | ||
|
||
setuid jarek | ||
setgid www-data | ||
|
||
env PATH=/home/jarek/brewlog.2019/_venv/bin | ||
env BREWLOG_CONFIG_LOCAL=/home/jarek/brewlog.2019/config/config_local.py | ||
env BREWLOG_CONFIG_SECRETS=/home/jarek/brewlog.2019/config/secrets.py | ||
chdir /home/jarek/brewlog.2019/brewlog | ||
exec uwsgi --ini brewlog.2019.ini |
This file was deleted.
Oops, something went wrong.