From a2804fb5ed36a518a52c8cbe762d24bd7aec5c83 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 12 Dec 2022 10:20:12 -0500 Subject: [PATCH] *Add config file to load plugin --- nfpm.yaml | 2 ++ pkg/config.json | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 pkg/config.json diff --git a/nfpm.yaml b/nfpm.yaml index e3fcfbd..91da64b 100644 --- a/nfpm.yaml +++ b/nfpm.yaml @@ -18,6 +18,8 @@ contents: dst: /etc/lumeweb/relay/plugins/build/Release/leveldown.node - src: ./dist/build/Release/mrmr.node dst: /etc/lumeweb/relay/plugins/build/Release/mrmr.node +- src: ./pkg/config.json + dst: /etc/lumeweb/relay/config.d/handshake.json scripts: postinstall: ./pkg/scripts/postinstall.sh preremove: ./pkg/scripts/preremove.sh diff --git a/pkg/config.json b/pkg/config.json new file mode 100644 index 0000000..1c58249 --- /dev/null +++ b/pkg/config.json @@ -0,0 +1,5 @@ +{ + "plugins": [ + "handshake" + ] +}