python3-cyberfusion-systemd-support 2.3.0__py3-none-any.whl → 2.4.0__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.
- cyberfusion/SystemdSupport/units.py +6 -1
- {python3_cyberfusion_systemd_support-2.3.0.dist-info → python3_cyberfusion_systemd_support-2.4.0.dist-info}/METADATA +2 -2
- python3_cyberfusion_systemd_support-2.4.0.dist-info/RECORD +9 -0
- {python3_cyberfusion_systemd_support-2.3.0.dist-info → python3_cyberfusion_systemd_support-2.4.0.dist-info}/WHEEL +1 -1
- python3_cyberfusion_systemd_support-2.3.0.dist-info/RECORD +0 -9
- {python3_cyberfusion_systemd_support-2.3.0.dist-info → python3_cyberfusion_systemd_support-2.4.0.dist-info}/top_level.txt +0 -0
|
@@ -160,7 +160,12 @@ class Unit:
|
|
|
160
160
|
@staticmethod
|
|
161
161
|
def get_drop_in_directory(unit_name: str) -> str:
|
|
162
162
|
"""Get unit override directory."""
|
|
163
|
-
return
|
|
163
|
+
return Unit.get_unit_file(unit_name) + ".d"
|
|
164
|
+
|
|
165
|
+
@staticmethod
|
|
166
|
+
def get_unit_file(unit_name: str) -> str:
|
|
167
|
+
"""Get unit file."""
|
|
168
|
+
return os.path.join(BASE_DIRECTORY_SYSTEMD_UNITS, unit_name)
|
|
164
169
|
|
|
165
170
|
@staticmethod
|
|
166
171
|
def remove_unit_type(unit_name: str) -> str:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-cyberfusion-systemd-support
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.4.0
|
|
4
4
|
Summary: Library for systemd.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-systemd-support
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: python3-cyberfusion-common~=2.
|
|
8
|
+
Requires-Dist: python3-cyberfusion-common~=2.12
|
|
9
9
|
|
|
10
10
|
# python3-cyberfusion-systemd-support
|
|
11
11
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
cyberfusion/SystemdSupport/__init__.py,sha256=tFF-tVDTfOjoIE41CSx_hJeKZCnN4FukSFcjUnfEZkc,959
|
|
2
|
+
cyberfusion/SystemdSupport/_constants.py,sha256=OKlVPEdUByBTc6hvVAB9SVuZlmEqTnNOwVDuH-0RkaU,91
|
|
3
|
+
cyberfusion/SystemdSupport/manager.py,sha256=cWM2kqjEpmO88CCgalQsUlhbzqH0RFbmLbuVBvFGW_8,346
|
|
4
|
+
cyberfusion/SystemdSupport/tmp_files.py,sha256=0EHIN6wZnPthytOCPxozwC2t0dgQfI08OuEvlERVk-A,1350
|
|
5
|
+
cyberfusion/SystemdSupport/units.py,sha256=TLUMqBP4bYjvqU8zhuLLeUF2ArAPzMc_36-t1e-GOjU,4912
|
|
6
|
+
python3_cyberfusion_systemd_support-2.4.0.dist-info/METADATA,sha256=K1eb0VfgRqj2qzvXp0x6Q08--_WjUtzAAsiz0cv2W74,1519
|
|
7
|
+
python3_cyberfusion_systemd_support-2.4.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
8
|
+
python3_cyberfusion_systemd_support-2.4.0.dist-info/top_level.txt,sha256=ss011q9S6SL_KIIyq7iujFmIYa0grSjlnInO7cDkeag,12
|
|
9
|
+
python3_cyberfusion_systemd_support-2.4.0.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
cyberfusion/SystemdSupport/__init__.py,sha256=tFF-tVDTfOjoIE41CSx_hJeKZCnN4FukSFcjUnfEZkc,959
|
|
2
|
-
cyberfusion/SystemdSupport/_constants.py,sha256=OKlVPEdUByBTc6hvVAB9SVuZlmEqTnNOwVDuH-0RkaU,91
|
|
3
|
-
cyberfusion/SystemdSupport/manager.py,sha256=cWM2kqjEpmO88CCgalQsUlhbzqH0RFbmLbuVBvFGW_8,346
|
|
4
|
-
cyberfusion/SystemdSupport/tmp_files.py,sha256=0EHIN6wZnPthytOCPxozwC2t0dgQfI08OuEvlERVk-A,1350
|
|
5
|
-
cyberfusion/SystemdSupport/units.py,sha256=7ZxTtXq_hkzEcEPx9az-Zb9135wiEDe4kJlc3SLwalI,4773
|
|
6
|
-
python3_cyberfusion_systemd_support-2.3.0.dist-info/METADATA,sha256=Tn_s996Yo-zxSI0ZNH0gRKGZTSMcyM581De-tVjel_I,1518
|
|
7
|
-
python3_cyberfusion_systemd_support-2.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
8
|
-
python3_cyberfusion_systemd_support-2.3.0.dist-info/top_level.txt,sha256=ss011q9S6SL_KIIyq7iujFmIYa0grSjlnInO7cDkeag,12
|
|
9
|
-
python3_cyberfusion_systemd_support-2.3.0.dist-info/RECORD,,
|