sync

sync #

Synchronize Git repositories and deploy container configurations.

Synopsis #

quad-ops sync [OPTIONS]

Description #

The sync command is the core operation of Quad-Ops. It performs a complete synchronization cycle:

  1. Repository Updates - Clone new repositories or pull latest changes
  2. File Discovery - Scan for Docker Compose files in configured locations
  3. Conversion - Generate Podman Quadlet units from compose configurations
  4. Deployment - Load units into systemd and start services
  5. Cleanup - Remove outdated units based on cleanup policies

This command is safe to run repeatedly and will only make necessary changes.

Options #

OptionShortTypeDefaultDescription
--dry-run-dbooleanfalsePerform a dry run without making any changes
--daemonbooleanfalseRun as a daemon
--sync-interval-iduration5mInterval between synchronization checks
--repo-rstringSynchronize a single, named, repository
--force-fbooleanfalseForce synchronization even if the repository has not changed

Global Options #

OptionShortDescription
--config-cPath to configuration file
--verbose-vEnable verbose output
  • up - Start services after sync
  • down - Stop services before maintenance
  • unit list - Check sync results
  • config - Validate configuration before sync

See Also #