Skip to main content

Documentation Index

Fetch the complete documentation index at: https://sysg.dev/llms.txt

Use this file to discover all available pages before exploring further.

purge

Remove all systemg state and start fresh.
$ sysg purge
Warning Warning: Permanently deletes all service history, logs, and runtime files.

Options

ShortLongDescription
---sysOpt into privileged system mode. Requires running as root
---log-levelSet verbosity (debug, info, warn, error)

What gets removed

  • Service status history
  • Cron execution history
  • All log files
  • PID tracking files
  • Supervisor state
  • Socket files

When to use

  • After ungraceful shutdowns
  • To clear corrupted state
  • Before uninstalling systemg
  • To free disk space

Example

$ sysg purge
$ All systemg state has been purged

See also

  • stop - Stop services without removing state
  • start - Start fresh after purging