Shutting down the OKS HTTP gateway

The OKS HTTP gateway process is automatically shut down when the operating system is brought down. However, it is possible that an administrator wants to shutdown the OKS HTTP gateway under certain conditions.

There is no specific procedure to stop the OKS HTTP gateway, but once again you will just need to send a simple signal to the process.

Here is an example:

# ps

 PID COMMAND

1401 /usr/local/oks/bin/oksd /usr/local/oks/etc/oksd.conf

1404 /usr/local/oks/bin/oks_http /usr/local/oks/etc/oks_http.conf

# kill 1404

The first command lists the current user processes and the second one sends a SIGTERM signal to the HTTP gateway process to terminate it. In case of errors, the syslog service is used and will print usefull error messages.