summaryrefslogtreecommitdiff
path: root/sysutils/daemontools/files
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2000-12-27 15:44:55 +0000
committerhubertf <hubertf@pkgsrc.org>2000-12-27 15:44:55 +0000
commite33a65e92051c438038e9a5c63a56e717a8468a2 (patch)
tree1c30f88b85d449338e1c4683c45ca164583077b6 /sysutils/daemontools/files
parent9da1342e0f0f87e2739b846004021736c4c8dcbd (diff)
downloadpkgsrc-e33a65e92051c438038e9a5c63a56e717a8468a2.tar.gz
Added daemontools-0.7:
Daemontools is a small set of /very/ useful utilities, from Dan Bernstein. They are mainly used for controlling processes, and maintaining logfiles. Submitted by Tomasz Luchowski <zuntum@eik.pl> in PR 11674.
Diffstat (limited to 'sysutils/daemontools/files')
-rw-r--r--sysutils/daemontools/files/md54
-rw-r--r--sysutils/daemontools/files/svscan.sh.sample34
2 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/daemontools/files/md5 b/sysutils/daemontools/files/md5
new file mode 100644
index 00000000000..bf282bd9a02
--- /dev/null
+++ b/sysutils/daemontools/files/md5
@@ -0,0 +1,4 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/27 15:44:55 hubertf Exp $
+
+MD5 (daemontools-0.70.tar.gz) = c88e8c5e4453b4df41571f60eaa0baf3
+MD5 (daemontools-0.70-man.diff.bz2) = bb7cbd7f2e06fd0e192ad09b6a7733b8
diff --git a/sysutils/daemontools/files/svscan.sh.sample b/sysutils/daemontools/files/svscan.sh.sample
new file mode 100644
index 00000000000..ab67f451307
--- /dev/null
+++ b/sysutils/daemontools/files/svscan.sh.sample
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+# Surely advice you to enable some of the below
+# control variables and the apropriate ulimit.
+# These are only examples.
+# Furthermore, you should think about additional
+# limits you might need.
+# Or, check login.conf(5) for a suitable
+# alternative
+#
+# I really do suggest you use /var/service as your
+# service spool directory. Check hier(7) for
+# reasons.
+
+# 10 Mb
+#MINSEGMENT=10240
+# 20 Mb
+#MAXSEGMENT=20480
+# 10 Mb
+#MAXFILESIZE=10240
+# 100
+#MAXFD=100
+# 40
+#MAXCHILD=40
+
+# ulimits
+#ulimit -d ${MINSEGMENT}
+#ulimit -f ${MAXFILESIZE}
+#ulimit -m ${MAXSEGMENT}
+#ulimit -n ${MAXFD}
+#ulimit -s ${MINSEGMENT}
+#ulimit -u ${MAXCHILD}
+
+exec /bin/csh -cf '/usr/local/bin/svscan /var/service &'