diff --git a/README-CN.md b/README-CN.md index 8b9888bd..9099176b 100644 --- a/README-CN.md +++ b/README-CN.md @@ -63,9 +63,8 @@ Neuron的层次结构图如下图所示: ### 编译 ```shell -$ git clone https://github.com/emqx/neuron +$ git clone -- recursive https://github.com/emqx/neuron $ cd neuron -$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ``` diff --git a/README.md b/README.md index 27a8d0c8..85ef9562 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,8 @@ The hierarchical layer diagram of Neuron is shown in the figure below: ## Build ```shell -$ git clone https://github.com/emqx/neuron +$ git clone -- recursive https://github.com/emqx/neuron $ cd neuron -$ git submodule update --init $ mkdir build && cd build $ cmake .. && make ``` diff --git a/package/create_neuron_deb.py b/package/create_neuron_deb.py index f8e91c73..f30d36df 100755 --- a/package/create_neuron_deb.py +++ b/package/create_neuron_deb.py @@ -10,7 +10,7 @@ rules.append(mkdeb.FileMap("deb/neuron/postinst", "/DEBIAN/", "r", "postinst")) rules.append(mkdeb.FileMap("deb/neuron/preinst", "/DEBIAN/", "r", "preinst")) rules.append(mkdeb.FileMap("deb/neuron/prerm", "/DEBIAN/", "r", "prerm")) -rules.append(mkdeb.FileMap("neuron.service", "/etc/systemd/system/")) +rules.append(mkdeb.FileMap("neuron.service", "/lib/systemd/system/")) rules.append(mkdeb.FileMap("neuron.sh", "/opt/neuron/", "x")) rules.append(mkdeb.FileMap("../build/neuron", "/opt/neuron/", "x"))