summaryrefslogtreecommitdiff
path: root/nfs.service
diff options
context:
space:
mode:
Diffstat (limited to 'nfs.service')
-rw-r--r--nfs.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/nfs.service b/nfs.service
new file mode 100644
index 0000000..a9d9e65
--- /dev/null
+++ b/nfs.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=SSH Daemon
+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