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

This commit is contained in:
Sebastian Boehm 2019-07-09 17:28:10 +02:00 committed by ansibot
parent 1d50d308fc
commit 612223773a

View file

@ -1157,7 +1157,7 @@ class OpenBsdService(Service):
def service_control(self):
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:
return self.execute_command("%s -f %s" % (self.svc_cmd, self.action))