From: matt () perutz ! salk ! edu
To: tru64-unix-managers
Subject: Adding things to the startup script?
Date: Mon, 24 Jul 1995 06:12:22 +0000 [thread overview]
Message-ID: <96075321606636.tru64-unix-managers.marc@archive.invalid> (raw)
I need to start 3 daemons at boot time. My method now is to start
them by hand after a reboot. I thought I could add the commands to
/etc/inittab but I couldn't get it to work. I saw a similar post in
the list archives but I haven't been able to get that guy's method to
work either.
I made a script /sbin/init.d/local and linked it to
/sbin/rc3.d/S96local. My problem is that I need to start one of the
daemons in the background. I can't seem to get the "&" syntax
correct. Here's what I came up with:
#!/sbin/sh
#
/usr/lib/mh/popd -p 110 >&/dev/null &
#
/usr/local/cap/cap60/etc/start-cap-servers >&/dev/null
#
/usr/local/etc/httpd/httpd -d /usr/local/etc/httpd/
I only need to start "popd" in the background. I want to redirect
output from the first 2 commands to /dev/null. Can anyone see what
I'm doing wrong?
Thanks so much if you can help.
Regards,
Matt Harrington
--
Matt Harrington matt@sbl.salk.edu
The Salk Institute http://sbl.salk.edu/~matt
San Diego, CA
reply other threads:[~1995-07-24 6:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox