Skip to content

Suspend Daemons

The Skpr CLI can suspend configured Daemons until you have resumed them.

An example of when it would be useful to suspend Daemons would be to stop the long running process in test environments.

Daemons suspension is recommended as only as a temporary measure while you should consider commenting or removing Deamons from your Skpr configuration if you intend to do this any longer.

Once the temporary measure is no longer required, you should resume the Daemon on your environment.

Usage

$ skpr daemon suspend dev -w
Waiting for daemon to finish
All Daemon tasks have been suspended.

More Information

$ skpr daemon suspend --help
usage: skpr daemon suspend [<flags>] <environment>

Suspend all Daemon tasks

Flags:
      --help  Show context-sensitive help (also try --help-long and --help-man).
  -w, --wait  Wait for running daemon tasks to complete

Args:
  <environment>  Environment name

What's next?

After suspending Daemons, consider one of the following: