File: iwpmd.service.in

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (32 lines) | stat: -rw-r--r-- 1,149 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[Unit]
Description=iWarp Port Mapper
Documentation=man:iwpmd file:/etc/iwpmd.conf
StopWhenUnneeded=yes
# iwpmd is a kernel support program and needs to run as early as possible,
# otherwise the kernel or userspace cannot establish RDMA connections and
# things will just fail, not block until iwpmd arrives.
DefaultDependencies=no
Before=sysinit.target
# Do not execute concurrently with an ongoing shutdown (required for DefaultDependencies=no)
Conflicts=shutdown.target
Before=shutdown.target
# Ensure required kernel modules are loaded before starting
Wants=rdma-load-modules@iwpmd.service
After=rdma-load-modules@iwpmd.service
# iwpmd needs to start before networking is brought up, even kernel networking
# (eg NFS) since it provides kernel support for iWarp's RDMA CM.
Wants=network-pre.target
Before=network-pre.target
# rdma-hw is not ready until iwpmd is running
Before=rdma-hw.target

[Service]
Type=notify
ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/iwpmd --systemd
LimitNOFILE=102400
ProtectSystem=full
ProtectHome=true
ProtectHostname=true
ProtectKernelLogs=true

# iwpmd is automatically wanted by udev when an iWarp RDMA device is present