mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-24 16:10:47 +02:00
Create appup.src file (#12)
This commit is contained in:
parent
9473ed382d
commit
6845d82762
2 changed files with 11 additions and 0 deletions
10
apps/epp_proxy/src/epp_proxy.appup.src
Normal file
10
apps/epp_proxy/src/epp_proxy.appup.src
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
AppInfo = rebar3_appup_utils:find_app_info(<<"epp_proxy">>, STATE),
|
||||||
|
"{{vsn}}" = rebar_app_info:original_vsn(AppInfo),
|
||||||
|
{"{{vsn}}",
|
||||||
|
[
|
||||||
|
{<<".*">>, [{restart_application, epp_proxy}]}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
{<<".*">>, [{restart_application, epp_proxy}]}
|
||||||
|
]
|
||||||
|
}.
|
|
@ -26,6 +26,7 @@
|
||||||
{overlay, [{copy, "scripts/extensions/reload", "bin/extensions/reload"}]}
|
{overlay, [{copy, "scripts/extensions/reload", "bin/extensions/reload"}]}
|
||||||
]
|
]
|
||||||
}.
|
}.
|
||||||
|
|
||||||
{provider_hooks, [
|
{provider_hooks, [
|
||||||
{pre, [{tar, {appup, tar}}]},
|
{pre, [{tar, {appup, tar}}]},
|
||||||
{post, [{compile, {appup, compile}},
|
{post, [{compile, {appup, compile}},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue