* Adding things to the startup script?
@ 1995-07-24 6:12 matt
0 siblings, 0 replies; only message in thread
From: matt @ 1995-07-24 6:12 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-07-24 6:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-24 6:12 Adding things to the startup script? matt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox