Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 15:39:08 -0700
From:      Gregory Carvalho <GregoryC@stcinc.com>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   daemon start at system boot
Message-ID:  <38138A8C.FB33B432@stcinc.com>

next in thread | raw e-mail | index | archive | help
The following is /etc/rc.local and /usr/start.delegated.

#!/bin/sh

echo ' delegated'
/usr/local/sbin/delegated -P8080 \

  OWNER=delegated/daemon \

  MANAGER=useracct@domain.com \

  DGROOT=/usr/spool/delegate \

  EXPIRE=7d 

The bottom line problem here is that delegated will not remain loaded
after rc.local, but will remain loaded when executed from
/usr/start.delegated as root.

delegated displays
<copyright stuff removed for brevity>
#### Cache directory seems not exist: /usr/spool/delegate/cache
#### Create Cachedir ? [y] / n :.
while rc.local executes, but delegated just displays copyright stuff and
continues processing from /usr/start.delegated.

The cache dir fills with cached files as delegated proxies web pages.
Suggestions on keeping delegated loaded without an interactive login
will be greatly appreciated.
-- 
Cordially,
Gregory Carvalho		GregoryC@stcinc.com
Simplified Technology Company	http://www.stcinc.com
In God I Trust!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38138A8C.FB33B432>