trabajo-afectivo/contrib/packager.io/postinstall.sh

40 lines
477 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2016-10-25 13:51:46 +00:00
#
# packager.io postinstall script
#
2016-10-25 15:59:31 +00:00
PATH=/opt/zammad/bin:/opt/zammad/vendor/bundle/bin:/sbin:/bin:/usr/sbin:/usr/bin:
2016-12-02 11:24:00 +00:00
# import config
. /opt/zammad/contrib/packager.io/config
2016-12-02 11:24:00 +00:00
# import functions
. /opt/zammad/contrib/packager.io/functions
# exec postinstall
2016-12-06 18:12:19 +00:00
debug
2016-12-02 11:24:00 +00:00
detect_os
2016-12-06 14:51:33 +00:00
detect_docker
2016-12-02 11:24:00 +00:00
detect_initcmd
2016-12-02 11:24:00 +00:00
detect_database
2016-12-02 11:24:00 +00:00
detect_webserver
2016-10-25 15:59:31 +00:00
2016-12-02 11:24:00 +00:00
create_initscripts
2016-10-25 15:59:31 +00:00
2016-12-02 11:24:00 +00:00
stop_zammad
2016-10-25 15:59:31 +00:00
update_or_install
2017-06-17 09:25:47 +00:00
set_env_vars
2016-12-02 11:24:00 +00:00
start_zammad
2016-10-25 16:07:10 +00:00
2016-12-02 11:24:00 +00:00
create_webserver_config
2016-11-14 02:22:58 +00:00
2016-12-02 11:24:00 +00:00
final_message