Stop a running daemon.
Purpose
Forcibly stop a running filesystem
daemon. All requests currently running are allowed to complete, but
no further requests may be made, nor will any new connections be accepted.
For
the stop request to succeed, the victim daemon must use the same configuration
area.
Note: When used in any integration, scm daemon
stop should only be at the very last resort (before killing
the process using an OS-specific command). Other processes may be
connected to the daemon, and have no way of preventing the shutdown.
The preferred way of stopping a daemon is to disconnect from it, and
allow the idle timeout to stop it.
Options and arguments
- share-root
- The path to the root of the shared portion of the filesystem of
the target daemon.
Example
Stop a daemon with a non-standard
configuration area:
$ scm --config /tmp/daemons/ daemon stop /tmp/sandbox1/
Daemon successfully terminated