ominfra 0.0.0.dev231__py3-none-any.whl → 0.0.0.dev232__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.
- ominfra/scripts/journald2aws.py +6 -1
- {ominfra-0.0.0.dev231.dist-info → ominfra-0.0.0.dev232.dist-info}/METADATA +3 -3
- {ominfra-0.0.0.dev231.dist-info → ominfra-0.0.0.dev232.dist-info}/RECORD +7 -7
- {ominfra-0.0.0.dev231.dist-info → ominfra-0.0.0.dev232.dist-info}/LICENSE +0 -0
- {ominfra-0.0.0.dev231.dist-info → ominfra-0.0.0.dev232.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev231.dist-info → ominfra-0.0.0.dev232.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev231.dist-info → ominfra-0.0.0.dev232.dist-info}/top_level.txt +0 -0
ominfra/scripts/journald2aws.py
CHANGED
@@ -1966,11 +1966,13 @@ class Pidfile:
|
|
1966
1966
|
path: str,
|
1967
1967
|
*,
|
1968
1968
|
inheritable: bool = True,
|
1969
|
+
no_create: bool = False,
|
1969
1970
|
) -> None:
|
1970
1971
|
super().__init__()
|
1971
1972
|
|
1972
1973
|
self._path = path
|
1973
1974
|
self._inheritable = inheritable
|
1975
|
+
self._no_create = no_create
|
1974
1976
|
|
1975
1977
|
@property
|
1976
1978
|
def path(self) -> str:
|
@@ -2013,7 +2015,10 @@ class Pidfile:
|
|
2013
2015
|
fd = os.dup(self._fd_to_dup)
|
2014
2016
|
del self._fd_to_dup
|
2015
2017
|
else:
|
2016
|
-
|
2018
|
+
ofl = os.O_RDWR
|
2019
|
+
if not self._no_create:
|
2020
|
+
ofl |= os.O_CREAT
|
2021
|
+
fd = os.open(self._path, ofl, 0o600)
|
2017
2022
|
|
2018
2023
|
try:
|
2019
2024
|
if self._inheritable:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev232
|
4
4
|
Summary: ominfra
|
5
5
|
Author: wrmsr
|
6
6
|
License: BSD-3-Clause
|
@@ -12,8 +12,8 @@ Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Operating System :: POSIX
|
13
13
|
Requires-Python: >=3.12
|
14
14
|
License-File: LICENSE
|
15
|
-
Requires-Dist: omdev==0.0.0.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev232
|
16
|
+
Requires-Dist: omlish==0.0.0.dev232
|
17
17
|
Provides-Extra: all
|
18
18
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
19
19
|
Requires-Dist: asyncssh~=2.18; extra == "all"
|
@@ -112,7 +112,7 @@ ominfra/manage/targets/connection.py,sha256=rVI1YJxFClcF-sdttqWyIz9_XjPI01GUdwxY
|
|
112
112
|
ominfra/manage/targets/inject.py,sha256=P4597xWM-V3I_gCt2O71OLhYQkkXtuJvkYRsIbhhMcE,1561
|
113
113
|
ominfra/manage/targets/targets.py,sha256=7GP6UAZyJFEhpkJN6UQdpr_WN3p7C76v-s445y-WB6U,1885
|
114
114
|
ominfra/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
115
|
-
ominfra/scripts/journald2aws.py,sha256=
|
115
|
+
ominfra/scripts/journald2aws.py,sha256=EpBwLz3adwVRN7RX6YnqpE5LtCDbkl4LE-4R5khzGWc,165212
|
116
116
|
ominfra/scripts/manage.py,sha256=4wsf9ITEhCAbwyu281y_-kp0QtTUv96YTSXgzGaMcK4,373808
|
117
117
|
ominfra/scripts/supervisor.py,sha256=8vVoR8kq7Qh2z_NdOrDXXnNCu9N5TnOM2M5om4D-ZmA,296097
|
118
118
|
ominfra/supervisor/LICENSE.txt,sha256=ZrHY15PVR98y26Yg6iQfa-SXnUaYTDhrUsPVcEO5OKM,1874
|
@@ -156,9 +156,9 @@ ominfra/tailscale/api.py,sha256=C5-t_b6jZXUWcy5k8bXm7CFnk73pSdrlMOgGDeGVrpw,1370
|
|
156
156
|
ominfra/tailscale/cli.py,sha256=3FnJbgpLw6gInTfhERd1mDy9ijjMUGxkdYVo43Tnxx4,3555
|
157
157
|
ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
158
158
|
ominfra/tools/listresources.py,sha256=BxFoxtyF2aVEcW67ZD9QujoBkJBtvIxGmKqXvLwnEHo,6180
|
159
|
-
ominfra-0.0.0.
|
160
|
-
ominfra-0.0.0.
|
161
|
-
ominfra-0.0.0.
|
162
|
-
ominfra-0.0.0.
|
163
|
-
ominfra-0.0.0.
|
164
|
-
ominfra-0.0.0.
|
159
|
+
ominfra-0.0.0.dev232.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
160
|
+
ominfra-0.0.0.dev232.dist-info/METADATA,sha256=YI-SMuFDhFrSMzRpEv-cIHYy3Ha_sy8O2CWxO_22EG4,731
|
161
|
+
ominfra-0.0.0.dev232.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
162
|
+
ominfra-0.0.0.dev232.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
|
163
|
+
ominfra-0.0.0.dev232.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
|
164
|
+
ominfra-0.0.0.dev232.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|