summaryrefslogtreecommitdiff
path: root/systemd/rpcbind.service.in
blob: 7b1c74bf42617770adb8696a3865b2decf22aa52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=RPC Bind
Documentation=man:rpcbind(8)
DefaultDependencies=no
RequiresMountsFor=@statedir@

# Make sure we use the IP addresses listed for
# rpcbind.socket, no matter how this unit is started.
Requires=rpcbind.socket
Wants=rpcbind.target

[Service]
Type=notify
# distro can provide a drop-in adding EnvironmentFile=-/??? if needed.
ExecStart=@_sbindir@/rpcbind $RPCBIND_OPTIONS -w -f

[Install]
WantedBy=multi-user.target