View Single Post
  #3   (View Single Post)  
Old 31st August 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

rc.d scripts are a System V Unix type thing, OpenBSD doesn't have that.

Stopping and starting "services" is done in different ways, depending on the service you want...

Now, you typically shouldn't need to kill OpenSSH... if you've made alterations to the configuration file, send SIGHUP to reload the file. (As documented in the man page.).

To terminate a process, you would either use a combination of ps(1) and kill(1), or pkill(1).

For BIND, once enabled in rc.conf, a rndc(8) key is generated at the next boot.. with that, you can monitor the status of the daemon.

Some base daemons have "ctl" utilities, Apache for example, has apachectl(8).

That's how it should be... IMHO, but I'm a little enthusiastic.

Last edited by BSDfan666; 31st August 2008 at 12:17 AM.
Reply With Quote