fujin-cli 0.11.4__py3-none-any.whl → 0.11.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fujin-cli might be problematic. Click here for more details.
- fujin/__main__.py +2 -2
- fujin/templates/web.service +22 -0
- fujin/templates/web.socket +11 -0
- {fujin_cli-0.11.4.dist-info → fujin_cli-0.11.5.dist-info}/METADATA +1 -1
- {fujin_cli-0.11.4.dist-info → fujin_cli-0.11.5.dist-info}/RECORD +8 -6
- {fujin_cli-0.11.4.dist-info → fujin_cli-0.11.5.dist-info}/WHEEL +0 -0
- {fujin_cli-0.11.4.dist-info → fujin_cli-0.11.5.dist-info}/entry_points.txt +0 -0
- {fujin_cli-0.11.4.dist-info → fujin_cli-0.11.5.dist-info}/licenses/LICENSE.txt +0 -0
fujin/__main__.py
CHANGED
|
@@ -50,9 +50,9 @@ class Fujin:
|
|
|
50
50
|
def main():
|
|
51
51
|
alias_cmd = _parse_aliases()
|
|
52
52
|
if alias_cmd:
|
|
53
|
-
cappa.invoke(Fujin, argv=alias_cmd, version="0.11.
|
|
53
|
+
cappa.invoke(Fujin, argv=alias_cmd, version="0.11.5")
|
|
54
54
|
else:
|
|
55
|
-
cappa.invoke(Fujin, version="0.11.
|
|
55
|
+
cappa.invoke(Fujin, version="0.11.5")
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
def _parse_aliases() -> list[str] | None:
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# All options are documented here https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html
|
|
2
|
+
# Inspiration was taken from here https://docs.gunicorn.org/en/stable/deploy.html#systemd
|
|
3
|
+
[Unit]
|
|
4
|
+
Description={app_name} daemon
|
|
5
|
+
After=network.target
|
|
6
|
+
|
|
7
|
+
[Service]
|
|
8
|
+
User={user}
|
|
9
|
+
Group={user}
|
|
10
|
+
RuntimeDirectory={app_name}
|
|
11
|
+
WorkingDirectory={app_dir}
|
|
12
|
+
ExecStart={app_dir}/{command}
|
|
13
|
+
EnvironmentFile={app_dir}/.env
|
|
14
|
+
ExecReload=/bin/kill -s HUP $MAINPID
|
|
15
|
+
KillMode=mixed
|
|
16
|
+
TimeoutStopSec=5
|
|
17
|
+
PrivateTmp=true
|
|
18
|
+
# if your app does not need administrative capabilities, let systemd know
|
|
19
|
+
ProtectSystem=strict
|
|
20
|
+
|
|
21
|
+
[Install]
|
|
22
|
+
WantedBy=multi-user.target
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fujin-cli
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.5
|
|
4
4
|
Summary: Get your project up and running in a few minutes on your own vps.
|
|
5
5
|
Project-URL: Documentation, https://github.com/falcopackages/fujin#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/falcopackages/fujin/issues
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
fujin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
fujin/__main__.py,sha256=
|
|
2
|
+
fujin/__main__.py,sha256=e9T-E4qC1sIw315_sKpSVCYKScZFYCfig8ShNRyNagM,1849
|
|
3
3
|
fujin/config.py,sha256=t7UnhQMl-wYDyFCIcOC5lLdfpSmYWDIRPHvozoSoVME,11707
|
|
4
4
|
fujin/connection.py,sha256=LL7LhX9p0X9FmiGdlSroD3Ht216QY0Kd51xkSrXmM3s,2479
|
|
5
5
|
fujin/errors.py,sha256=74Rh-Sgql1YspPdR_akQ2G3xZ48zecyafYCptpaFo1A,73
|
|
@@ -30,11 +30,13 @@ fujin/secrets/dopppler.py,sha256=t5SGfyuA0RxsD9uvrAu4cG2TBDIUgB5gb6XYXPrd61Y,724
|
|
|
30
30
|
fujin/secrets/onepassword.py,sha256=6Xj3XWttKfcjMbcoMZvXVpJW1KHxlD785DysmX_mqvk,654
|
|
31
31
|
fujin/secrets/system.py,sha256=Z5uNc2V3rcR75ffBnOsJywndoWuDcih88O9nPXIJ3U0,382
|
|
32
32
|
fujin/templates/simple.service,sha256=ySlLqF354UCvlQaJcEVj4jf4hK7aKAq9qseE6pmtXJI,350
|
|
33
|
+
fujin/templates/web.service,sha256=D3vHOHdP3wrZueKuhlhkB4syOCVvGSciDsNsmU_Bp68,626
|
|
34
|
+
fujin/templates/web.socket,sha256=2lJsiOHlMJL0YlN7YBLLnr5zqsytPEt81yP34nk0dmc,173
|
|
33
35
|
fujin/templates/granian/web.service,sha256=D3vHOHdP3wrZueKuhlhkB4syOCVvGSciDsNsmU_Bp68,626
|
|
34
36
|
fujin/templates/gunicorn/web.service,sha256=EfTJQP4VvwlOTDyVCch5Y7iVhpPvZVaRWE6MHI4_z4k,683
|
|
35
37
|
fujin/templates/gunicorn/web.socket,sha256=2lJsiOHlMJL0YlN7YBLLnr5zqsytPEt81yP34nk0dmc,173
|
|
36
|
-
fujin_cli-0.11.
|
|
37
|
-
fujin_cli-0.11.
|
|
38
|
-
fujin_cli-0.11.
|
|
39
|
-
fujin_cli-0.11.
|
|
40
|
-
fujin_cli-0.11.
|
|
38
|
+
fujin_cli-0.11.5.dist-info/METADATA,sha256=SMsJ4wtSPlaJJtLU1erFIYzE8gZWp5Bw5fB-ZpCeYI8,4603
|
|
39
|
+
fujin_cli-0.11.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
40
|
+
fujin_cli-0.11.5.dist-info/entry_points.txt,sha256=Y_TBtKt3j11qhwquMexZR5yqnDEqOBDACtresqQFE-s,46
|
|
41
|
+
fujin_cli-0.11.5.dist-info/licenses/LICENSE.txt,sha256=0QF8XfuH0zkIHhSet6teXfiCze6JSdr8inRkmLLTDyo,1099
|
|
42
|
+
fujin_cli-0.11.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|