1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Moved main process control to __main__

This commit is contained in:
krateng
2022-04-09 20:55:50 +02:00
parent 233e49d087
commit bb68afee12
4 changed files with 143 additions and 148 deletions

View File

@ -2,7 +2,6 @@
import sys
import os
from threading import Thread
import setproctitle
from importlib import resources
from css_html_js_minify import html_minify, css_minify
import datauri
@ -42,8 +41,6 @@ BaseRequest.MEMFILE_MAX = 15 * 1024 * 1024
webserver = Bottle()
#rename process, this is now required for the daemon manager to work
setproctitle.setproctitle("Maloja")
######