zammad_db_user_helper.sh 347 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env bash
  2. #
  3. # This little helper script
  4. # shellcheck disable=SC2046
  5. BACKUP_SCRIPT_PATH="$(dirname $(realpath $0))"
  6. # import functions
  7. . ${BACKUP_SCRIPT_PATH}/functions
  8. # exec backup
  9. start_helper_message
  10. get_zammad_dir
  11. db_helper_warning
  12. check_database_config_exists
  13. detect_initcmd
  14. stop_zammad
  15. db_helper_alter_user
  16. start_zammad