This commit is contained in:
2021-06-20 15:42:56 -04:00
parent b0e93fb295
commit 6ac69ac4ca
+3 -3
View File
@@ -898,7 +898,7 @@ def msg_to_websockets(typ: str, msg: str):
# #
PUSHSRVS = ["all", "pushover", "mattermost" ] PUSHSRVS = ["all", "pushover", "mattermost" ]
helpflag = False helpflag = False
forground = False foreground = False
pushsrv = "pushover" # mattermost pushsrv = "pushover" # mattermost
dyndomains = ["wrede.org"] dyndomains = ["wrede.org"]
optlist = [] optlist = []
@@ -917,7 +917,7 @@ for o, a in optlist:
configfile = a configfile = a
cmdargs += [o, a] cmdargs += [o, a]
if o == '-f': if o == '-f':
forground = True foreground = True
cmdargs += [o] cmdargs += [o]
elif o == '-h': elif o == '-h':
helpflag = True helpflag = True
@@ -1096,7 +1096,7 @@ ilist.append(sock6)
#ilist.append(serv.fileno()) #ilist.append(serv.fileno())
if not forground: if not foreground:
pid = os.fork() pid = os.fork()
if pid > 0: if pid > 0:
if verbose: if verbose: