added the default description back
Dieser Commit ist enthalten in:
Ursprung
ddbeb30d73
Commit
bfbd3b5432
|
@ -40,6 +40,8 @@ class Module(SystemdUnitModule):
|
|||
self.mountdir = pathlib.Path(self.params["where"])
|
||||
self.unitfile = SYSTEMD_SERVICE_CONFIG.joinpath(self.mountdir.relative_to("/").as_posix().replace("/", "-")).with_suffix(".mount")
|
||||
self.__unit = None
|
||||
if self.get("description", False) is False:
|
||||
self.params["description"] = "Mount for {}".format(self.mountdir.relative_to("/").as_posix())
|
||||
|
||||
def unit(self) -> str:
|
||||
if self.__unit is None:
|
||||
|
|
Laden…
In neuem Issue referenzieren