pkgsrc/sysutils/daemontools/files/svscan.sh.sample
zuntum 02999f8714 Minor changes:
o use @@SERVICEDIR@@ instead of /service as substitution imput,
    same with /usr/local/ ( -> @@PREFIX@@ )
  o fit in 80 columns
  o rewrite pkg/DEINSTALL
2001-10-22 19:03:42 +00:00

34 lines
703 B
Bash

#!/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 @@SERVICEDIR@@ 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 '@@PREFIX@@/bin/svscan @@SERVICEDIR@@ &'