summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netfs/etc/netfsd.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/netfs/etc/netfsd.service b/netfs/etc/netfsd.service
new file mode 100644
index 0000000..8fba029
--- /dev/null
+++ b/netfs/etc/netfsd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=NetFSD
+
+[Service]
+ExecStart=/usr/bin/icebox \
+ --IceBox.Service.NetFSD=netfsd:createNetFSDaemon \
+ --NetFSD.ConfigPath=/etc/netfs/daemon.xml \
+ --Ice.UseSyslog=1 \
+ --Ice.ProgramName=netfsd \
+ --Ice.SyslogFacility=LOG_DAEMON \
+ --NetFSD.ThreadPool.SizeMax=200 \
+ --NetFSD.ThreadPool.Size=8
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target