mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-29 10:10:19 +00:00
add pidfile variable to parser
This commit is contained in:
parent
8f5dd5ea5c
commit
e52fb396d4
4
cfg.py
4
cfg.py
@ -15,7 +15,8 @@ parser = SafeConfigParser(
|
|||||||
'access_log_file':"",
|
'access_log_file':"",
|
||||||
'users_dir':"",
|
'users_dir':"",
|
||||||
'host':"127.0.0.1",
|
'host':"127.0.0.1",
|
||||||
'port':""
|
'pidfile':"",
|
||||||
|
'port':"",
|
||||||
})
|
})
|
||||||
parser.read('plinth.config')
|
parser.read('plinth.config')
|
||||||
|
|
||||||
@ -29,6 +30,7 @@ user_db = parser.get('Path', 'user_db')
|
|||||||
status_log_file = parser.get('Path', 'status_log_file')
|
status_log_file = parser.get('Path', 'status_log_file')
|
||||||
access_log_file = parser.get('Path', 'access_log_file')
|
access_log_file = parser.get('Path', 'access_log_file')
|
||||||
users_dir = parser.get('Path', 'users_dir')
|
users_dir = parser.get('Path', 'users_dir')
|
||||||
|
pidfile = parser.get('Path', 'pidfile')
|
||||||
host = parser.get('Network', 'host')
|
host = parser.get('Network', 'host')
|
||||||
port = int(parser.get('Network', 'port'))
|
port = int(parser.get('Network', 'port'))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user