/
ibacm.socket
37 lines (33 loc) · 1.24 KB
/
ibacm.socket
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
33
34
35
36
37
# Please copy this file to /etc/systemd/system/ibacm.socket
# before modification, if not done already.
#
# When using socket-based activation of the 'ibacm' service
# ibacm's configuration option 'acme_plus_kernel_only' is ignored
# (i.e. an implicit 'acme_plus_kernel_only no')
#
# In order to get the equivalent behavior of
# configuration 'acme_plus_kernel_only yes'
# Please add a comment (i.e. a '#' character) in front
# of the line 'Symlinks' below, and ensure that file
# file '/run/ibacm.sock' does not exist:
# e.g. by using "rm -f /run/ibacm.sock" after modifying
# the copy of this file that lives in /etc/systemd/system.
#
# Please also remember to reload the systemd configuration by running:
# % systemctl --system daemon-reload
[Unit]
Description=Socket for InfiniBand Address Cache Manager Daemon
Documentation=man:ibacm
# Ensure that anything ordered after rdma-hw.target will see the socket, even
# if that thing is not ordered after socket.target/basic.target.
Before=rdma-hw.target
# ibacm.socket always starts
[Socket]
ListenStream=/run/ibacm-unix.sock
Symlinks=/run/ibacm.sock
# Bind to PF_NETLINK, NETLINK_RDMA, RDMA_NL_GROUP_LS
# Supported in systemd > 234
ListenNetlink=rdma 4
[Install]
# Standard for all sockets
WantedBy=sockets.target