[PATCH rdma-core 4/6] ibacm: Do not fork under systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This avoids daemonizing the server and forking as systemd does
all of that for us. The notable benefit is to allow stderr to
be routed to the journal in case there is any sort of internal
fault (eg a glibc memory failure)

Signed-off-by: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx>
---
 ibacm/ibacm.service.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ibacm/ibacm.service.in b/ibacm/ibacm.service.in
index fae768faef560b..7d589b57f59e00 100644
--- a/ibacm/ibacm.service.in
+++ b/ibacm/ibacm.service.in
@@ -4,8 +4,7 @@ Documentation=man:ibacm file:@CMAKE_INSTALL_SYSCONFDIR@/rdma/ibacm_opts.cfg
 After=opensm.service
 
 [Service]
-Type=forking
-ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/ibacm
+ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/ibacm -P
 
 [Install]
 WantedBy=network.target
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux