#!/bin/sh

#This is a sample run script that could be used to run slidentd under 
# Dan Bernstein's daemontools.  Don't forget to add a user and write the
# UID and GID in below

AUTH_USERID=xxx
AUTH_GRPID=xxx

exec 2>&1
exec env - /usr/local/bin/softlimit -d64000 -c0 -l0 -s64000 -a3000000 -o10 \
/usr/local/bin/tcpserver -x /etc/tcprules/auth.cdb -u$AUTH_USERID -g$AUTH_GRPID -c10 -DRHl0 \
0 auth /usr/local/sbin/slidentd
