hi,

what is the best way to guarantee scripts starting order?

I need sshd start first and squid start last among all scripts which are 
starting

is the only way to put (for example) to /usr/local/etc/rc.d/ script/s
to order it?

so, to just start squid after sshd I need something like this:

---[ /usr/local/etc/rc.d/ORDER1 start ]---

#!/bin/sh
#

# PROVIDE: precedence
# REQUIRE: sshd
# BEFORE: squid

---[ /usr/local/etc/rc.d/ORDER1 stop  ]---


but how to configure it globally to start sshd just after network 
initialization?
is it something like this?

---[ /usr/local/etc/rc.d/ORDER0 start ]---

#!/bin/sh
#

# PROVIDE: precedence
# REQUIRE: NETWORKING pf pflog
# BEFORE: sshd

---[ /usr/local/etc/rc.d/ORDER0 stop  ]---

is there some other way to order them?
-- 
Zeus V. Panchenko                               jid:[email protected]
IT Dpt., I.B.S. LLC                                       GMT+2 (EET)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "[email protected]"

Reply via email to