somemore debugging
Dieser Commit ist enthalten in:
Ursprung
b6a77ebd6d
Commit
9ccdc46248
|
@ -24,8 +24,11 @@ class Module(SystemdUnitModule):
|
||||||
)
|
)
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
self.unitfile = (SYSTEMD_SERVICE_CONFIG/ self.get("name")).with_stem(".target")
|
try:
|
||||||
self.set("name", self.get(name))
|
self.unitfile = (SYSTEMD_SERVICE_CONFIG/ self.get("name")).with_stem(".target")
|
||||||
|
self.set("name", self.get(name))
|
||||||
|
except KeyError:
|
||||||
|
self.set("params", self.params)
|
||||||
self.__unit = None
|
self.__unit = None
|
||||||
|
|
||||||
def header(self) -> str:
|
def header(self) -> str:
|
||||||
|
|
Laden…
In neuem Issue referenzieren