|
|
The DocView server is controlled by an init script so that it can start automatically when the system boots. By default, the server starts automatically for local service after rebooting the system. See the next section to control the automatic start feature.
You can use the same init script to start and stop the server manually. This is also necessary when you change the configuration of DocView and want to restart it.
/etc/docview stop [stop the server] /etc/docview start [start the server] /etc/docview restart [stop and then start the server]
Normally the process ID for the server is stored in /var/lib/docview/docview.pid, which serves as a lock file as well. The lock file prevents a second server from being started accidentally.
When you start the server manually, you should see a message indicating that it started. If not, then try using the restart option. There may be a lock file left behind that prevents it from starting.