View Source mix horizon.ops.init (horizon v0.2.5)

Creates Horizon.Ops helper scripts in ops/bin/ directory.

Usage

mix horizon.ops.init [-y] [path]

Options

  • -y - Overwrite files without asking for confirmation.
  • path - The path to the directory where the scripts are created. Default is ops/bin.

Description

Horizon.Ops.Init creates several scripts for managing deployments of hosts and data.

Running mix horizon.ops.init creates several files in the ops/bin/ directory. These files include:

  • bsd_install.sh
  • bsd_install_args.sh
  • bsd_install_script.sh
  • horizon_helpers.sh
  • add_certbot_crontab.sh
  • backup_databases.sh
  • backup_databases_over_ssh.sh
  • restore_database.sh
  • update_database_owner.sh
  • turn_on_postgres_access.sh
  • turn_off_postgres_access.sh
  • turn_on_user_access.sh
  • turn_off_user_access.sh
  • freebsd_setup.sh
  • zfs_snapshot.sh