|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
start stop services ?
is there anything like this
/etc/rc.d/service-name {start} {stop} {status} {reload} {forceXXX} {rcvar} in openbsd for example ssh named or anything i am a freebsd user but i started 2 love openbsd more now if only i can get this to work like free & net |
|
|||
No there isn't something like that in OpenBSD. Learn to like it even if you don't
To stop sshd : Code:
pkill -TERM sshd Code:
pkill -HUP sshd
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
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. |
|
|||
great really thanx allot guys for the reply i appreciated
|
|
|||
Along with the answers already posted, your best bet is to study the manpage for each & every daemon you want to run. The accuracy of OpenBSD's manpages is very important to the developers, & signficant time & effort is spend to guarantee their correctness.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
start and stop KDE from shell | ccc | FreeBSD General | 8 | 8th July 2010 10:12 PM |
Stop beeping | Business_woman | FreeBSD General | 3 | 15th January 2009 09:00 PM |
KDE3 install stop error | delboy | FreeBSD Ports and Packages | 2 | 20th November 2008 10:02 AM |
Questions about my home configuration services | aleunix | OpenBSD Security | 9 | 12th June 2008 01:54 PM |
Learn which services are listening on your box | anomie | Guides | 5 | 14th May 2008 09:59 AM |