pywebexec 1.2.4__tar.gz → 1.2.5__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pywebexec-1.2.4/pywebexec.egg-info → pywebexec-1.2.5}/PKG-INFO +1 -1
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/version.py +2 -2
- {pywebexec-1.2.4 → pywebexec-1.2.5/pywebexec.egg-info}/PKG-INFO +1 -1
- {pywebexec-1.2.4 → pywebexec-1.2.5}/.github/workflows/python-publish.yml +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/.gitignore +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/LICENSE +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/README.md +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pyproject.toml +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/__init__.py +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/pywebexec.py +2 -2
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/css/style.css +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/css/xterm.css +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/aborted.svg +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/copy.svg +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/copy_ok.svg +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/failed.svg +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/favicon.svg +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/running.gif +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/images/success.svg +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/js/script.js +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/js/xterm/LICENSE +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/js/xterm/ansi_up.min.js +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/js/xterm/xterm-addon-fit.js +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/static/js/xterm/xterm.js +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/templates/__init__.py +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec/templates/index.html +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec.egg-info/SOURCES.txt +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec.egg-info/dependency_links.txt +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec.egg-info/entry_points.txt +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec.egg-info/requires.txt +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/pywebexec.egg-info/top_level.txt +0 -0
- {pywebexec-1.2.4 → pywebexec-1.2.5}/setup.cfg +0 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -277,6 +277,8 @@ def parseargs():
|
|
277
277
|
sys.exit(1)
|
278
278
|
if not os.path.exists(COMMAND_STATUS_DIR):
|
279
279
|
os.makedirs(COMMAND_STATUS_DIR)
|
280
|
+
if not os.path.exists(CONFDIR):
|
281
|
+
os.mkdir(CONFDIR, mode=0o700)
|
280
282
|
if args.gencert:
|
281
283
|
hostname = resolve_hostname(gethostname())
|
282
284
|
args.cert = args.cert or f"{CONFDIR}/pywebexec.crt"
|
@@ -582,8 +584,6 @@ def list_executables():
|
|
582
584
|
|
583
585
|
def main():
|
584
586
|
basef = f"{CONFDIR}/pywebexec_{args.listen}:{args.port}"
|
585
|
-
if not os.path.exists(CONFDIR):
|
586
|
-
os.mkdir(CONFDIR, mode=0o700)
|
587
587
|
if args.action == "start":
|
588
588
|
return start_gunicorn(daemon=True, baselog=basef)
|
589
589
|
if args.action:
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|