File: ibacm.service.in

package info (click to toggle)
rdma-core 33.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,844 kB
  • sloc: ansic: 145,804; python: 5,688; sh: 2,761; perl: 1,465; makefile: 73
file content (24 lines) | stat: -rw-r--r-- 861 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=InfiniBand Address Cache Manager Daemon
Documentation=man:ibacm file:@CMAKE_INSTALL_FULL_SYSCONFDIR@/rdma/ibacm_opts.cfg
# Cause systemd to always start the socket, which means the parameters in
# ibacm.socket always configures the listening socket, even if the deamon is
# started directly.
Wants=ibacm.socket
# Ensure required kernel modules are loaded before starting
Wants=rdma-load-modules@rdma.service
After=rdma-load-modules@rdma.service
# Order ibacm startup after basic RDMA hw setup.
After=rdma-hw.target

# Implicitly after basic.target, note that ibacm writes to /var/log directly
# and thus needs writable filesystems setup.

[Service]
Type=notify
ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/ibacm --systemd

[Install]
Also=ibacm.socket
# Only want ibacm if RDMA hardware is present (or the socket is touched)
WantedBy=rdma-hw.target