Daemonize service start on OpenBSD, fixes #50460 (#58528)

pull/58927/head
Sebastian Boehm 5 years ago committed by ansibot
parent 1d50d308fc
commit 612223773a

@ -1157,7 +1157,7 @@ class OpenBsdService(Service):
def service_control(self): def service_control(self):
if self.enable_cmd: if self.enable_cmd:
return self.execute_command("%s -f %s %s" % (self.svc_cmd, self.action, self.name)) return self.execute_command("%s -f %s %s" % (self.svc_cmd, self.action, self.name), daemonize=True)
else: else:
return self.execute_command("%s -f %s" % (self.svc_cmd, self.action)) return self.execute_command("%s -f %s" % (self.svc_cmd, self.action))

Loading…
Cancel
Save