restart

A command for stopping and starting a Dash node’s services, which are the running parts of a Dash network installation. It can restart everything or only the platform services.

In plain words
What is it for?
Use it to restart all services, restart only platform services, wait for key generation to finish, force a restart when necessary, or show detailed output.
Why use it?
It gives you a controlled way to apply settings, recover services in an inconsistent state, or restart after an update. Safe and force options address distributed key generation, the process used to create shared quorum keys.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/dashpay/platform/restart
Clone the repo
git clone --depth 1 https://github.com/dashpay/platform
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 473 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00473
Opus 5 $0.00000 $0.00236
Sonnet 5 $0.00000 $0.00095
Haiku 4.5 $0.00000 $0.00047

Measured yesterday against content hash 426639369d68, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

restart scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/dashmate/docs/commands/restart.md · 61 lines

What it actually says

restart

The restart command stops and then starts a node, restarting all services.

Usage

dashmate restart [OPTIONS]

Options

Option Description Default
-c, --config=<name> Configuration to use Uses default config if not specified
-p, --platform Restart only platform services (not Core) false
-s, --safe Wait for DKG (Distributed Key Generation) to complete before restart false
-f, --force Ignore DKG and force restart (masternode might be banned) false
-v, --verbose Use verbose mode for output false

Description

This command restarts a Dash node by stopping and then starting its services.

This can be useful when:

  • You've changed configuration options that require a service restart
  • Services are in an inconsistent state and need to be restarted
  • You want to restart after an update

By default, the command restarts all services. Use the --platform flag to restart only the platform services while keeping Core running.

If the node is a masternode participating in a quorum, restarting during a DKG (Distributed Key Generation) session can cause issues. Use the --safe flag to wait for any current DKG round to complete before restarting, or use --force to ignore this protection (which may result in the masternode being banned and lost rewards).

Examples

# Restart all services in the default configuration
dashmate restart

# Restart a specific configuration
dashmate restart --config=testnet

# Restart only platform services
dashmate restart --platform

# Safely restart, waiting for DKG to complete
dashmate restart --safe

# Force restart even during DKG
dashmate restart --force
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 61 lines · 0 tokens per session scan A 426639369d68

Subscribe to this mod's changes

restart is a command published in the GitHub repository dashpay/platform (92 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 473 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.