Skip to content

Commit

Permalink
Docs updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Jul 4, 2017
1 parent 3b8bd36 commit 1166bc6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ The following variables also known as magic_ variables could be used as option v


.. automodule:: uwsgiconf.variables
:members:
:undoc-members:
6 changes: 6 additions & 0 deletions uwsgiconf/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,19 @@
'''Vassals directory - pwd.'''

HOST_NAME = '%h'
'''Host name.'''
CPU_CORES = '%k'
'''Detected CPU count.'''

USER_ID = '%u'
'''User ID.'''
USER_NAME = '%U'
'''User name.'''

GROUP_ID = '%g'
'''Use group ID.'''
GROUP_NAME = '%G'
'''Use group name.'''


def get_descriptions():
Expand Down

0 comments on commit 1166bc6

Please sign in to comment.