mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
host a webclient by default
This commit is contained in:
parent
3277a65052
commit
1b0d427285
@ -235,8 +235,8 @@ def setup():
|
|||||||
parser.add_argument('--pid-file', dest="pid", help="When running as a "
|
parser.add_argument('--pid-file', dest="pid", help="When running as a "
|
||||||
"daemon, the file to store the pid in",
|
"daemon, the file to store the pid in",
|
||||||
default="hs.pid")
|
default="hs.pid")
|
||||||
parser.add_argument("-w", "--webclient", dest="webclient",
|
parser.add_argument("-W", "--webclient", dest="webclient", default=True,
|
||||||
action="store_true", help="Host the web client.")
|
action="store_false", help="Don't host a web client.")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
verbosity = int(args.verbose) if args.verbose else None
|
verbosity = int(args.verbose) if args.verbose else None
|
||||||
|
Loading…
Reference in New Issue
Block a user