CLI command

skarbiec mirror unpublish

Stop maintain from pushing the mirror on this host: the inverse of mirror publish.

Invocation#

Shell
skarbiec mirror unpublish

Purpose#

Stop maintain from pushing the mirror on this host: the inverse of mirror publish.

Required inputs and options#

  • Nothing.

Output and state effects#

  • Sets skarbiec.publish false in the mirror's Git configuration, journals sync-publish and prints ok, publish false and sync_dir. The mirror and what it last pushed stay as they are; mirror push still pushes by hand.

Refusals#

  • A flag or a word exits 2 with the mirror usage (arguments-flag-unknown, arguments-extra). A host without a mirror is mirror-absent, and git refusing to write its configuration is mirror-git-refused.