nsfast(1M)
nsfast --
start, stop, enable, disable, query, and restart Netscape FastTrack server(s)
Synopsis
nsfast [ start | stop | enable | disable | query | restart ] [ server1 server2 ... ]
Description
This script controls any Netscape FastTrack server(s) installed on a system (apart from the scohelphttp server, which is controlled by the scohelphttp(X1M) commands). The Netscape FastTrack server(s) can be started, stopped, enabled, disabled, and restarted. nsfast query returns the current state of the specified server (enabled, disabled, started and/or stopped).
For each server argument, nsfast performs the specified action on the server or servers. If no server argument is provided, the action will be performed on all Netscape FastTrack servers on the system.
Options
The
/etc/nsfast
script has six options:
- start
-
starts the specified server
- stop
-
stops the specified server (however, if the server is enabled, it will automatically start upon reboot of the system)
- enable
-
ensures that the specified server starts when the system reboots
- disable
-
prevents the specified server from starting when the system reboots
- query
-
returns the current state of the specified server (enabled, disabled, started, and/or stopped)
- restart
-
restarts the specified server. Note that this option will not start a server if it does not find one running; it will only restart a currently running server.
Files
- /etc/nsfast
-
control script for nsfast
- /usr/ns-home/httpd-<ServerName>
-
server root directory
- /etc/rc2.d/S91nsfast-<ServerName>
-
script that starts the server automatically on boot
- /usr/ns-home/httpd-<ServerName>/logs/pid
-
contains the process ID of the server
Warnings
If you do not supply a server argument, the command will be performed on
every Netscape FastTrack server installed on the system, except for the scohelphttp server.
References
scohelphttp(X1M)
Examples
To set the server named 80 to restart whenever the system reboots:
To show the current state of the server named zoe:
30 January 1998
© 1997 The Santa Cruz Operation, Inc. All rights reserved.