This package is heavily based from the work done for gogs-spk
Consul (Service mesh) SPK package (Synology PacKages)
Install Consul into a Synology NAS.
Only tested on x64 (DS916+) could work on ARM since a consul binary exists.
Change Package Center -> Trust Level to Any Publisher and import manually the package from Manual install. Finally, install with Consul web installation.
You can store your configuration using a conf.d
folder inside 1_create_package/consul/
. If you don't want to ship your configurations with the package, you can use /etc/consul
.
Download the binary from https://www.consul.io/downloads.html, replace the content from 1_create_package/consul directory and exec create_spk.sh:
~/src/consul-spk(master)$ rm -rf 1_create_package/consul/ && unzip consul_1.4.4_linux_amd64.zip && mv consul ./1_create_package/
$ sh create_spk.sh