Merge pull request #475 from fengzeroz/main

Update README & modify neuron.service path
This commit is contained in:
fengzeroz
2022-05-10 10:45:14 +08:00
committed by GitHub
3 changed files with 3 additions and 5 deletions
+1 -2
View File
@@ -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
```
+1 -2
View File
@@ -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
```
+1 -1
View File
@@ -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"))