summaryrefslogtreecommitdiff
path: root/systemd/nfs-utils.service
blob: 54b6314d8d5287809b4360c11a22148315937a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=NFS server and client services
# This service should never be stopped, only restarted.
# When it is re-started, all other services which declare
# themselves to be "PartOf" this service will also be
# restarted. Thus
#   systemctl restart nfs-utils
# will restart all daemons which are part of nfs-utils
# and which are running.  This is useful after a software
# update.

# This is a "service" rather than "target" so that we
# don't need to say "systemctl restart nfs-utils.target".
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/true