1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #!/bin/bash
- #
- # packager.io postinstall script
- #
- PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin:
- # import config
- . /opt/zammad/contrib/packager.io/config
- # import functions
- . /opt/zammad/contrib/packager.io/functions
- # exec postinstall
- debug
- detect_os
- detect_docker
- detect_initcmd
- detect_database
- detect_webserver
- enforce_redis
- create_initscripts
- stop_zammad
- update_or_install
- set_env_vars
- start_zammad
- create_webserver_config
- final_message
|