From 3abae723cf9831f3108cbfdd38c8779c4013e5ef Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 19 Jul 2015 16:19:04 +0100 Subject: Add the systemd service file --- netfs/etc/netfsd.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 netfs/etc/netfsd.service 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 -- cgit v1.2.3