Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Cecylia Bocovich
gettor
Commits
fd71f48d
Commit
fd71f48d
authored
Oct 15, 2019
by
Hiro
🏄
Browse files
Update options with configs
parent
b50da54a
Changes
2
Hide whitespace changes
Inline
Side-by-side
bin/gettor_service
View file @
fd71f48d
...
...
@@ -20,7 +20,7 @@
case
"
$1
"
in
start
)
twistd3
--python
=
scripts/gettor
--logfile
=
log/gettor.log
--pidfile
=
gettor.pid
twistd3
--python
=
scripts/gettor
--logfile
=
log/gettor.log
--pidfile
=
gettor.pid
--config
=
gettor.conf.json
;;
stop
)
kill
-INT
`
cat
gettor.pid
`
...
...
gettor/utils/options.py
View file @
fd71f48d
...
...
@@ -31,4 +31,4 @@ def parse_settings():
returing translated strings
"""
strings
.
load_strings
(
"en"
)
return
load_settings
(
config
=
False
)
return
load_settings
(
config
=
'gettor.conf.json'
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment