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:
- Repository Updates - Clone new repositories or pull latest changes
- File Discovery - Scan for Docker Compose files in configured locations
- Conversion - Generate Podman Quadlet units from compose configurations
- Deployment - Load units into systemd and start services
- Cleanup - Remove outdated units based on cleanup policies
This command is safe to run repeatedly and will only make necessary changes.
Options #
Option | Short | Type | Default | Description |
---|---|---|---|---|
--dry-run | -d | boolean | false | Perform a dry run without making any changes |
--daemon | boolean | false | Run as a daemon | |
--sync-interval | -i | duration | 5m | Interval between synchronization checks |
--repo | -r | string | Synchronize a single, named, repository | |
--force | -f | boolean | false | Force synchronization even if the repository has not changed |
Global Options #
Option | Short | Description |
---|---|---|
--config | -c | Path to configuration file |
--verbose | -v | Enable verbose output |
Related Commands #
- up - Start services after sync
- down - Stop services before maintenance
- unit list - Check sync results
- config - Validate configuration before sync
See Also #
- Configuration - Setup and repository configuration
- Getting Started - Initial setup guide
- Container Management - Understanding the sync process