mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Only provide Relx start script in dev profile
That script serves a similar purpose to ejabberdctl to start ejabberd, but we can't guarantee it is completely equivalent to ejabberdctl. The prod profile must provide only the well-known script. The test profile provides the Relx script so we can experiment with it.
This commit is contained in:
parent
aaa053829f
commit
66bb4cbfa9
@ -178,7 +178,6 @@
|
||||
{sys_config, "./rel/sys.config"},
|
||||
{vm_args, "./rel/vm.args"},
|
||||
{overlay_vars, "vars.config"},
|
||||
{extended_start_script, true},
|
||||
{overlay, [{mkdir, "var/log/ejabberd"},
|
||||
{mkdir, "var/lib/ejabberd"},
|
||||
{mkdir, "etc/ejabberd"},
|
||||
@ -193,6 +192,7 @@
|
||||
{dev_mode, false},
|
||||
{include_erts, true},
|
||||
{include_src, true},
|
||||
{generate_start_script, false},
|
||||
{overlay, [{copy, "sql/*", "lib/ejabberd-\{\{release_version\}\}/priv/sql/"},
|
||||
{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg"},
|
||||
{copy, "ejabberd.yml.example", "etc/ejabberd/ejabberd.yml"}]}]}]},
|
||||
@ -201,6 +201,8 @@
|
||||
{dev_mode, true},
|
||||
{include_erts, true},
|
||||
{include_src, false},
|
||||
{generate_start_script, true},
|
||||
{extended_start_script, true},
|
||||
{overlay, [{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg.example"},
|
||||
{copy, "ejabberd.yml.example", "etc/ejabberd/ejabberd.yml.example"},
|
||||
{copy, "test/ejabberd_SUITE_data/ca.pem", "etc/ejabberd/"},
|
||||
|
Loading…
Reference in New Issue
Block a user