sockets and targets are now not restarted on changes
Dieser Commit ist enthalten in:
Ursprung
70e0146d02
Commit
dcc685616b
|
@ -41,6 +41,7 @@ class Module(SystemdUnitModule, SystemdReloadMixin): # type: ignore
|
||||||
),
|
),
|
||||||
required_one_of=(("stream", "datagram", "sequential", "fifo"),),
|
required_one_of=(("stream", "datagram", "sequential", "fifo"),),
|
||||||
)
|
)
|
||||||
|
restartable = False
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
self.unitfile = (SYSTEMD_SERVICE_CONFIG / self.get("name")).with_suffix(".socket")
|
self.unitfile = (SYSTEMD_SERVICE_CONFIG / self.get("name")).with_suffix(".socket")
|
||||||
|
|
|
@ -27,6 +27,7 @@ class TargetModule(SystemdUnitModule, SystemdReloadMixin):
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
restartable = False
|
||||||
|
|
||||||
def prepare(self):
|
def prepare(self):
|
||||||
self.unitfile = (SYSTEMD_SERVICE_CONFIG / self.get("name")).with_suffix(".target")
|
self.unitfile = (SYSTEMD_SERVICE_CONFIG / self.get("name")).with_suffix(".target")
|
||||||
|
|
Laden…
In neuem Issue referenzieren