PERSIST-CONFIG(1)

NAME
persist-config - configure automatic root-persistence saves

SYNOPSIS
persist-config [options]

DESCRIPTION
persist-config configures how root-persistence saves are triggered in a live system. It is intended for use by startup and shutdown integration, but it can also be run manually to change the save mode. The script writes its configuration to /etc/live/persist-config.conf and can be told to set up startup handling, shutdown handling, or a custom shutdown command. When a custom command is used, the script only accepts reboot and poweroff commands and treats the request as a shutdown action.

OPTIONS

--startup
    Create persist-config.conf if it is missing. This is the mode used by startup scripts so the configuration exists before the user reaches shutdown.

--shutdown
    Run persist-save according to the contents of persist-config.conf when the system is shutting down.

--command CMD
    Run CMD if persist-save succeeds. If persist-save fails, the user is prompted before CMD is executed. This option implies --shutdown.

The script also honors the shared antiX common options provided by the underlying library, including the normal GUI and verbosity controls.

FILES

/etc/live/persist-config.conf
    Configuration file written by this tool.

/live/config/persist-save.conf
    Flag file indicating that automatic saving is enabled.

/live/config/save-persist
    Legacy flag file used to decide whether the tool should run.

/live/config/last-auto-save
    Timestamp of the last automatic save.

/live/config/last-persist-save
    Timestamp of the last save operation.

SEE ALSO
persist-save(1), live-remaster(1)

AUTHOR
mx-remaster maintainers