summaryrefslogtreecommitdiff
path: root/nfs.service
blob: 1845f1143baa89d1dbef891d0e5fbd5d101a647d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Network File System
After=syslog.target networking.target

# This could probably benefit from socket activation, but honestly I think it
# is time for acpid to go away, and hence I am not planning to spend the time
# to add socket activation here. We use Type=forking to ensure that the
# communication sockets are in place before boot proceeds with any service
# needing this service. Would acpid support socket activation we could use
# Type=simple here.

[Service]
Type=forking
ExecStart=/etc/init.d/nfs start 
ExecStop=/usr/init.d/nfs stop

[Install]
WantedBy=multi-user.target